Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Variable dependant animation.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Variable dependant animation. (Read 707 times)
Racer
December 16, 2009, 07:24:34 PM
Is it possable to have an animtion similar to "look", or the "Spring" animation for vehicles, but is dependant on variables? For example, a fuel gauge, when the variable "fuel" is at 1/2, the animation plays the frame that is 1/2 way through.
Ad Bot
Advertisement
MtnDew
December 16, 2009, 07:50:12 PM
That would be awesome.
AGlass0fMilk
December 17, 2009, 04:29:20 PM
You could, but I don't think constantly. I think it'd have to be different animations that play depending on the amount of fuel left.
Racer
December 17, 2009, 04:31:26 PM
Yeah, thats what i was going to do if i couldn't use a single one.
Deathwishez
December 18, 2009, 02:43:30 AM
Code:
[Select]
if Fuel = 1/2 Fuel.max
{
changeDatablock 1/2Fuel Player;
}
This-ish? I suck at coding.
Racer
December 18, 2009, 03:21:51 AM
No, im talking about an animation, not playing many.
Deathwishez
December 18, 2009, 03:30:31 AM
Why would you need that?
Racer
December 18, 2009, 06:57:40 AM
If you don't understand what I'm saying, don't bother posting.
MtnDew
December 22, 2009, 08:08:29 PM
In a sense, this can be done with dsqs.
You would have to find some clever ass way to get animation health bars working lol
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Variable dependant animation.