Unit state doesnt work?

image
initialize script (im creating an unit that has the states to set and setting it as a variable)


this script is ran by another script, in the part where it sets state to sandy it doesnt work, but it does send the message

2 Likes

wsg bro, it seems that moddio is having a lot of then do: bugs rn, wait a while

1 Like

It could just be that the animation isn’t playing. Could you show the frames of the ‘sandy’ animation?

2 Likes

2 Likes

Ok, can you send a link to your game?

1 Like

https://www.modd.io/play/Disaster-Survival/?autopublish=true The sandy animation plays when its sandstorm disaster, but there are also other animations for other disasters (tornado, thunderstorm, flood, tsunami, red light green light) and they dont work too

2 Likes

forum is so cool bruh

1 Like

nvm i fixed it lololo

2 Likes