YesNoOk
avatar

My explod disappears after a second (Read 3707 times)

Started by DeCeballos, October 17, 2021, 12:16:18 pm
Share this topic:
My explod disappears after a second
New #1  October 17, 2021, 12:16:18 pm
  • **
    • Spain
Hello, you will see I have this explod of some thunder animations.If I place it in statedef -2, -3 it appears without problems in a loop, but if I put the code inside the statedef of my character's special mode, the animation appears for a second and then disappears. This is the state:

[State 42, lightning aura]
type = explod
trigger1 = animelemtime(23)>=0
trigger1 = gametime%(4) = 0
anim = 9900+(random%12);2805+(random%4)
id = 9900
pos = 38-(random%76),-90+(Random%80);10-5*(random%5),-55
sprpriority = 4
bindtime = -1
ownpal = 1
removeongethit = 1
ignorehitpause = 1
facing = IfElse(random%2=0,1,-1)
removetime = -2
scale = 0.5+0.1*(random%4), 0.5+0.1*(random%4)
pausemovetime = 99999
supermovetime = 99999
Last Edit: October 18, 2021, 08:37:28 pm by DeCeballos