MUGEN OUTLAWS

FUCK THE MUGEN COPS, WE ARE THE OUTLAWS
 
HomeHome  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Share | 
 

 Variables

Go down 
AuthorMessage
blackchaos
Administrator
avatar

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

PostSubject: Variables   July 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
View user profile
JozoTheBoogey
MO Founder
avatar

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

PostSubject: Re: Variables   July 27th 2008, 7:07 pm

what exatctly are these Variables for?

_________________

Who knows will know, who steals will have.
My Moto
Back to top Go down
View user profile http://www.freewebs.com/jozotheboogey
blackchaos
Administrator
avatar

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

PostSubject: Re: Variables   July 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
View user profile
Sponsored content




PostSubject: Re: Variables   

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: