How do i add an envshake to my charging anim?? Heres the code.
;Charge
[Statedef 888]
type = C
movetype= I
physics = C
velset = 0,0
anim = 888
ctrl = 0
[State 888, end]
type = Changeanim
trigger1 = animelem = 5
value = 484
[State 888, PowerAdd]
type = PowerAdd
trigger1 = ((GameTime%1) = 0)
value = 10
[State 888, 1]
type = PlaySnd
trigger1 = time = 1
value = S110,5
loop = 1
pan = 0
volume = -100
[State 888, StopSnd]
type = StopSnd
trigger1 = (command != "holdz")
channel = -1
volume = -100
;ignorehitpause =
;persistent =
[State 888, 1]
type = CtrlSet
trigger1 = Command != "holdz"
value = 1
[State 888, end]
type = ChangeState
trigger1 = (command != "holdz")
value = 0
[Statedef 484]
type = S
movetype= A
physics = S
juggle = 4
poweradd= 0
ctrl = 0
velset = 0,0
anim = 484
sprpriority = 8
[State 484, 4]
type = SprPriority
trigger1 = 1
value = 4
[State 484,***]
type = AssertSpecial
trigger1 = 1
flag = noshadow