News:

MFG's Character of the Month: September 2026 Voting

Main Menu

Assist won't appear

Started by jamestheepic, June 12, 2024, 12:26:14 PM

Previous topic - Next topic

jamestheepic

So I'm try to make an assist for char (not a projectile by the way) by when ever i do the command the assist doesn't appear.

here's the code

[Statedef 1010]
type     = A
movetype = A
physics  = N
juggle   = 1
anim     = 1010
velset   = 0,0
ctrl     = 0

[State 1010, Helper]
type = Helper
trigger1 = time = 10
helpertype = normal
name = "DOS Fred Flintstone"
ID = 1010
stateno = 1011
pos = 55,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 1


[State 1010, End]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

[statedef 1011]
type    = S
movetype= A
physics = S
juggle  = 1
ctrl = 0
velset = 0,0
anim = 7800
sprpriority = -1

[State 0, VelSet]
type = VelSet
trigger1 = time = 0
x = 0
y = 0

[State 1011, 2]
type = HitDef
trigger1 = time = 6
trigger2 = time = 7
trigger3 = time = 8
attr = S, NA
animtype = Light
damage    = 45                        
hitflag = MAF         
priority = 3, Hit                        
pausetime = 8, 8         
sparkno = 0            
sparkxy = -10, -76      ;X-offset for the "hit spark" rel. to p2,               
hitsound = 5, 0         ;Sound to play on hit
guardsound = 6, 0         ;Sound to play on guard
ground.type = High      ;Type: High, Low, Trip (def: Normal)
ground.slidetime = 5      ;Time that the opponent slides back
ground.hittime  = 12      ;Time opponent is in hit state
ground.velocity = -4      ;Velocity at which opponent is pushed
airguard.velocity = -1.9,-.8   ;Guard velocity in air (def: (air.xvel*1.5, air.yvel/2))
air.type = High         ;Type: High, Low, Trip (def: same as ground.type)
air.velocity = -1.4,-3      ;X-velocity at which opponent is pushed,               
air.hittime = 12

[State 1011, Œø‰Ê‰¹]
type = PlaySnd
trigger1 = AnimElem = 6
value = s7800,0

[State 1011, Œø‰Ê‰¹]
type = PlaySnd
trigger1 = AnimElem = 14
value = s7800,1

[State 1011, 4]
type = DestroySelf
trigger1 = animelem = 16

let me know if theres any problems in the code if not any suggestions welcome.