[ADDED] Money inc/dec animation

Started by Lucy, December 27, 2018, 01:30:12 PM

Previous topic - Next topic

Lucy

Using localPlayer.money it just changes the money directly instead of using the animation of increasing/decreasing.

bluesn0w

#1
You could script that, couldn't you?

Lucy

#2
Quote from: bluesn0w post_id=239 time=1546381767 user_id=125You could script that, couldn't you?


eh, no?

Vortrex

#3
I think it needs to be like the weather functions.

We have world.weather as a property that doesn't "instantly" change, and world.forceWeather() as a function that instantly changes it.



Same could be applied to money.

player.money

player.forceMoney()

Vortrex

#4
This has been added as player.storedMoney, which is the end result of the money being animated/transitioned, and player.displayedMoney which is the current value in the transition while it's animating.



Topic locked.