Help with character Transformations

Started by JudaiZX, October 03, 2009, 12:44:11 AM

Previous topic - Next topic

JudaiZX

 I did every thing in this tutorial http://mugenguild.com/forumx/index.php?topic=33131.0
yet my character dissapears instead of transforming!
Here's the code:
[State -2, Transform Helper]
type = Helper
trigger1 = numhelper(8874) = 0
name = "AmITransformed?"
ID = 8874
pos = 9999,-9999
stateno = 8874

[State -2, Transform Helper]
type = Changeanim
triggerall = helper(8874),var(40) > 0
trigger1 = anim = [0,9999]
value = anim + helper(8874),var(40)*10000

[Statedef 8874]

[State 8874, assertspecial]  ; You really don't want to see this helper do you?
type = assertspecial
trigger1 = time
flag = invisible
persistent = 1

[state 8874, varset] ; Initialize the transformation variable
type = varset
trigger1 = time = 0
v = 40
value = 0

[State 8874, Change] ; This sctrl can be modified as appropriate
type = varset
triggerall = root, animelemtime(6) = 0  ; Halfway through the transformation anim in this case
trigger1 = root, anim = 8874    ; Suppose the anim for transforming is 1000
trigger2 = root, anim = 11000  ; Transforming back is anim 11000 in this case
v = 40
value = ifelse(root,anim=887400,1,0) ;1 = Transformed, 0 = not
Quote from: Walruslui on February 07, 2017, 08:13:42 AM
youre a fucking meme. another borewood. REIWOOD. SHIP CONFIRMED.
Quote from: Alpaca-San on November 09, 2014, 09:26:35 AM
I will force feed Dark Pit right into your ass if we ever play on wi fi.
Quote from: SlanDome on September 13, 2020, 04:40:48 PM
i think this a dark souls of a mugen forums.
Spoiler (click to show)

Cyanide

Do you understand what you've written there?

The state -2 method of transforming is kinda unreliable, you're better off overriding the common states. I suggest that instead.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.

Byakko

type = Changeanim
triggerall = helper(8874),var(40) > 0
trigger1 = anim = [0,9999]
value = anim + helper(8874),var(40)*10000

Do you have these animations ? 10000 to 19999. Turn on the debug flood.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.