Infinity MUGEN Team

IMT Main => M.U.G.E.N Guides & Tutorials => Topic started by: shootYr. on August 18, 2007, 02:19:09 AM

Title: How To Add Ghost Codes
Post by: shootYr. on August 18, 2007, 02:19:09 AM
Okay, if you want the character to always be ghost, then all you need to do is find this

[Statedef -2]

Implement

[State -2]
Type = Trans
Trigger1 = 1
trans = Add1

[State -2]
Type = NotHitBy
trigger1 = 1
value = AP

Thats it. Now If You want to make it so that the character turns Ghost By Holding Start then You Use This.

[State -2]
Type = Trans
triggerall = Palno >6
Trigger1 = 1
trans  = Add1

[State -2]
Type = NotHitBy
triggerall = PalNo >6
trigger1 = 1
value = AP

That Should Work. Hope this helps.
Title: Re: How To Add Ghost Codes
Post by: BigJ on August 18, 2007, 02:23:46 AM
Preventing people from asking "Where do I put this code?"

Open up your chars CNS (there might be more than one, If there is, press Ctrl + F then search for [Statedef -2] ) then just copy and paste the provided code under it.

Thanks for the code dude. Much appreciated. :)
Title: Re: How To Add Ghost Codes
Post by: Spectre on August 18, 2007, 12:09:07 PM

Thats it. Now If You want to make it so that the character turns Ghost By Holding Start then You Use This.

[State -2]
Type = Trans
triggerall = Palno >6
Trigger1 = 1
value = Add1


I could only get this to work when i changed 'value = Add1' to ' trans = add1'.
Maybe its just me i dont know?
Anyway thanks for the ghost code - its very useful!  ;D
Title: Re: How To Add Ghost Codes
Post by: Marancv on August 20, 2007, 02:46:31 PM
good tip the "holding start" stuff. :P
Title: Re: How To Add Ghost Codes
Post by: A! on September 18, 2007, 05:01:45 PM
this dont work for me error comes up
SimplePortal 2.3.5 © 2008-2012, SimplePortal