DuckAzz Posted July 14, 2015 Posted July 14, 2015 Well this time my projectile helper does 15 hits on some really close spot but it's set to hit once.So which problem can be? Here's the code of the p1's and Helper's states: ;Gun Shot[Statedef 1003]type = S movetype= A physics = S velset = 0,0 ctrl = 0 anim = 1003 poweradd = 65 sprpriority = 2 [state 1000]type = playsndtrigger1 = animelem = 6value = S400,0 [state 1000]type = explodtrigger1 = animelem = 6anim = 1001ontop = 1bindtime = -1postype = p1pos = 0,0removeongethit = 1ignorehitpause = 1 [State 1000, 5] ;Opponent neartype = HitDeftrigger1 = time = 0attr = S, SAanimtype = lightdamage = 25, 4priority = 5guardflag = MApausetime = 15,15sparkno = 2sparkxy = -10,-85hitsound = 5,3guardsound = S6,0ground.type = Lowground.slidetime = 25ground.hittime = 20ground.velocity = -12,0air.velocity = -12,-4 [state 1000]type = helpertrigger1 = animelem = 6stateno = 1001postype = p1pos = 0,5helpertype = normalignorehitpause = 1ID = 1001ownpal = 1 [State 1000, 7]type = ChangeStatetrigger1 = AnimTime = 0value = 0ctrl = 1 ;Helper For Gun shot[Statedef 1001]type = Smovetype= Aphysics = Sjuggle = 4velset = 0,0anim = 1002ctrl = 0sprpriority = 5 [state 1000]type = assertspecialtrigger1 = 1flag = noshadowignorehitpause = 1 [State 1210, NotHitBy]type = NotHitBytrigger1 = 1value = SCA, NA, SA, HA, NT, ST, HTtime = 1 [State 1210, HitBy]type = HitBytrigger1 = 1value = SCA, NP, SP, HPtime = 1 [State 1210, HitOverride]type = HitOverridetrigger1 = Time <= 0time = -1attr = SCA, NP, SP, HPslot = 0stateno = 1002 [state 1000]type = velsettrigger1 = 1x = 40 [State 1000, 5] ;Opponent neartype = hitdeftrigger1 = time = 0;projanim = 1005;projremove = 1;projremanim = 1006;projhitanim = 1006;projremovetime = 555;velocity = 5,0;offset = 15,-30attr = S, SPanimtype = Hard;coredamage = 55, 5priority = 5guardflag = MApausetime = 0,0sparkno = 10sparkxy = -15,-100hitsound = 5,2guardsound = S6,0ground.type = highground.slidetime = 25ground.hittime = 25ground.velocity = -10,0air.velocity = -5,-3fall = 0air.fall = 1ground.cornerpush.veloff = 0air.cornerpush.veloff = 0fall.recover = 0 [state 1000]type = changestatetrigger1 = movecontacttrigger2 = FrontEdgeBodyDist <= -10value = 1002[/code] And here's the command code:[code][State -1, GS]type = ChangeStatevalue = 1003triggerall = numhelper(1001) != 1triggerall = numhelper(1012) != 1triggerall = numhelper(1016) != 1trigger1 = command = "QCF_y"trigger1 = var(1)[/code]
0 Ryon Posted July 14, 2015 Posted July 14, 2015 you should definately space out your coding. at least by 1 line. otherwise its a mess. in your helper your hitdef trigger is 1 trigger1 = 1 means INDEFINITELY. or INFINITELY. Basically your telling your helper to hit as many times as it can as long as the helper is alive. change it to trigger1 = time = 0 - Characters - / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -
Question
DuckAzz
Well this time my projectile helper does 15 hits on some really close spot but it's set to hit once.
So which problem can be?
Here's the code of the p1's and Helper's states:
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now