need help,pls

Started by dancoto_ns, April 18, 2009, 08:51:38 PM

Previous topic - Next topic

dancoto_ns

help about power charge
okat this is my Constants File
[StateDef 1010]
type = S
physics = S
velset = 0,0
anim = 1010
ctrl = 0


[State 1010, Explod]
type = Explod
trigger1 = AnimElem = 1
anim = 1012
ID = 1012
pos = 0,0
postype = p1  ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1
vel = 0,0
accel = 0,0
random = 0,0
removetime = -2
supermove
pausemove
scale = 1,1
sprpriority = 0
ontop = 0
shadow = 0,0,0
ownpal = 0
removeongethit = 0




[State 0, PowerAdd]
type = PowerAdd
triggerall = command = "hold_x" && command = "hold_y"
trigger1 = power<powermax
value = time/10



[State 0, ChangeState]
type = ChangeState
trigger1 = power>=powermax
trigger2 = command!="hold_x" || command !="hold_y"
value = 1011
ctrl = 0



[StateDef 1011]
type = S
physics = S
velset = 0,0
anim = 1011
ctrl = 0


[State 0, ChangeState]
type = ChangeState
trigger1 = animtime = 0
value = 0
ctrl = 1


and this is my commands

[State -1, Chakra ]
type = ChangeState
value = 1010
trigger1 = power<const(data.power) || power<powermax
trigger1 = command = "hold_x" && command = "hold_y"
trigger1 = (statetype = s) && ctrl

and this is the error



dancoto_ns

can anyone help me about this,please  ??? ???



Shamrock

Quote[State 0, PowerAdd]
type = PowerAdd
triggerall = command = "hold_x" && command = "hold_y"
trigger1 = power<powermax
value = time/10]

This one here the hold_x command is missing the command label in the CMD file.

dancoto_ns

can u write the missing label  ??? ???



Shamrock


dancoto_ns

but isn't this label there on the command  ??? ???



GT

No, It Has To Be Implemented.
Like, Err...

[Command]
name = "hold_x"
command = x
time = 1

dancoto_ns