YesNoOk
avatar

Transformation code problem (Read 834 times)

Started by Dominic Maraschiello, July 28, 2015, 11:42:22 pm
Share this topic:
Transformation code problem
New #1  July 28, 2015, 11:42:22 pm
  • ***
  • ✯Uh...✯
    • USA
    • http://dnicknbd.wix.com/lostintranslation
I can't get my character out of his transformation after I put him in it.

I wanted to implement a time factor so that when he enters the transformation, he has a certain amount of time to be in it, then after that amount of time he reverts back to his original form.

This is the code that I wrote (There were Explods and extra stuff in there that I took out that had nothing to do with the actual code working (This is a super)) -

Code:
;-----------------------------------------------------
;Item Call
[Statedef 1010]
type    = S
movetype= A
physics = S
juggle  = 4
poweradd= -2000
ctrl = 0
anim = 1010
velset = 0,0
sprpriority = -1

[State 505, 3]
type = ChangeState
trigger1 = Time = 150
value = 1011
ctrl = 1
;-----------------------------------------------------
;Item Call - Finish
[Statedef 1011]
type    = S
movetype= A
physics = S
poweradd= 0
ctrl = 0
anim = 1011
velset = 0,0
sprpriority = -1

[State 0, VarSet]
type = VarSet
trigger1 = animtime = 0
v = 10   
value = 1

[State 505, 3]
type = ChangeState
trigger1 = Animtime = 0
value = 0
ctrl = 1
;===============================================================

     Posted: July 30, 2015, 04:48:12 am
http://mugenguild.com/forum/topics/transformations-mugen-dbz-style-90321.0.html

Trying to make a comeback
Last Edit: July 30, 2015, 04:48:12 am by 回Banxmanℨ回