Hey all, I just completed my very first behavior.
It's a pretty simple one but also kinda useful in some cases.
DOWNLOAD LINK: https://drive.google.com/open?id=0B2mWg ... m9XNWowZ0E
What it does is that it sets an object's timescale to follow the global timescale with a ratio and with a default timescale. Kinda like parallax.
Let's see a few cases to illustrate what I mean (DTS = Default timescale, GTS = Global Timescale) :
- DTS = 1 and ratio = 0 . The object will always be at a timescale of 1
- DTS = 1 and ratio = 0.5 . The object will follow the variation of the global timescale by half ( GTS = 1, Timescale = 1. GTS = 2, Timescale = 1.5. GTS = 0, Timescale = 0.5)
- DTS = 1 and ratio = 1 . The object will be as usual: Following the global timescale
- DTS = 0.5 and ratio = 0.5 . ( GTS = 1, Timescale = 0.5. GTS = 2, Timescale = 1. GTS = 0, Timescale = 0)
Etc, I could do a lot more of these, but I think you get the point.
How can it be useful? Well the most important one I can think of is Pause menus:
The default values of the behavior are set for that use. So it's a plug n play in that case. But I'm pretty sure anyone playing a lot with timescale can find more uses to this.
Properties:
- Default timescale
- Ratio
- Status (Enabled or Disabled)
ACES:
Actions:
- Set default Timescale
- Set Ratio
- Set Enabled
Conditions:
- Is enabled
- Compare default timescale
- Compare Ratio
Expressions:
- Timescale
- Ratio
- Status ("Enabled" or "Disabled")
DOWNLOAD LINK: https://drive.google.com/open?id=0B2mWg ... m9XNWowZ0E