YesNoOk
avatar

need to help (Read 1868 times)

Started by Tfa234, November 12, 2021, 12:51:38 am
Share this topic:
need to help
#1  November 12, 2021, 12:51:38 am
  • avatar
    • China
Can someone fix the helper. i can't  fix it
;---------------------------------------------------------------------------
; Win pose 1 - Bow
; CNS difficulty: basic
[Statedef 181]
type = S
physics = N
anim = 181
sprpriority = 1
ctrl = 0
[State wait]
type = assertspecial
trigger1 = !ishelper
flag = roundnotover

[State 181, snd]
type = playsnd
trigger1 = !time && !ishelper
value = 9, 20
channel = 9

[State 181]
type = changestate
trigger1 = time >= 45
value = 181000

[Statedef 181000]
type = S
physics = N
anim = 181000
sprpriority = 1
ctrl = 0

[State wait]
type = assertspecial
trigger1 = time < 255 && !ishelper
flag = roundnotover

[State 181000]
type = assertspecial
trigger1 = !ishelper
flag = nomusic

[State 181000, Camera]
type = screenbound
trigger1 = 1
value = 0
movecamera = 0, 1
[State 181111, Camera]
type = helper
trigger1 = !numhelper(181111) && !ishelper
helpertype = normal
stateno = 181111
ID = 181111
name = "Camera"
postype = p1

[State 181000, Helper]
type = Helper
trigger1 = !time
helpertype = normal
name = "K'"
ID = 181001
stateno = 181001
pos = 0,0
postype = p1
ownpal = 1

[State 181000]
type = turn
trigger1 = time = 60

[State 181000]
type = velset
trigger1 = 1
x = 8

and

;K'
[Statedef 181001]
type = S
movetype = I
physics = N
anim = 181001
sprpriority = -1
ctrl = 0

[State 181001]
type = turn
trigger1 = time = 120
[State 181001]
type = velset
trigger1 = 1
x = 10

;Camera
[Statedef 181111]
type = S
movetype = I
physics = N
velset = 0, 0
anim = 181111
[State 181111, bound]
type = screenbound
trigger1 = 1
value = 0
movecamera = 1, 1
[State 181111, End]
type = destroyself
trigger1 = roundstate = 2