MUGEN OUTLAWS
Would you like to react to this message? Create an account in a few clicks or log in to continue.
MUGEN OUTLAWS

FUCK THE MUGEN COPS, WE ARE THE OUTLAWS
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  

 

 Variables

Go down 
2 posters
AuthorMessage
blackchaos
Administrator
blackchaos


Number of posts : 137
Age : 41
Location : London,England
Registration date : 2008-07-23

Variables Empty
PostSubject: Variables   Variables EmptyJuly 27th 2008, 5:05 pm

http://uk.youtube.com/watch?v=xmSrR90vOxA

this is a basic variable tutorial, but ill show you another example its more advanced


[state 2500]
type = VarSet
trigger = p2bodydist X = [0,75]
v = 10
value = 1

this means variable 10 = 1 when player 2 is between 0 and 75 pixels away from player 1
Back to top Go down
JozoTheBoogey
MO Founder
JozoTheBoogey


Number of posts : 396
Age : 33
Location : Bosnia & Herzegowina
Registration date : 2008-07-08

Variables Empty
PostSubject: Re: Variables   Variables EmptyJuly 27th 2008, 7:07 pm

what exatctly are these Variables for?
Back to top Go down
http://www.freewebs.com/jozotheboogey
blackchaos
Administrator
blackchaos


Number of posts : 137
Age : 41
Location : London,England
Registration date : 2008-07-23

Variables Empty
PostSubject: Re: Variables   Variables EmptyJuly 27th 2008, 8:12 pm

for use of AI or quick coding

say if you made a move that can only be done a certain distance away then youd type it the long way or use a variable for quick access, like the one above, var(10)
Back to top Go down
Sponsored content





Variables Empty
PostSubject: Re: Variables   Variables Empty

Back to top Go down
 
Variables
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
MUGEN OUTLAWS :: Help :: M.U.G.E.N Development Help :: Code Library-
Jump to: