wc3edit.net

United Warcraft 3 map hacking!
It is currently April 19th, 2024, 6:18 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Variables
PostPosted: April 30th, 2007, 4:22 am 
Offline
Forum Addict

Joined: February 17th, 2007, 9:16 pm
Posts: 405
How do variables work? Like in cheats, someone types -gogogo, and it enables cheats and only for them... how do I make that happen?


Top
 Profile  
 
 Post subject:
PostPosted: April 30th, 2007, 4:30 am 
Offline
Honorary wc3edit.net Traitor
User avatar

Joined: February 1st, 2007, 4:11 pm
Posts: 2513
Location: NEVADA
I personally suggest you use a player group variable...

Ie, go to the trigger editor, hit ctrl+b (open variables menu)
make a new variable, any name will work, then choose player group for the type, not array, and leave the default the same.

Then, when someone types -gogo add them to the player group.

Now, add a condition on all your cheats if the player (triggering player) is in the player group (your variable) equal to true

yes, boalean..
if you need more help on this, let me know, was just rushing to answer before I go to bed.


Top
 Profile  
 
 Post subject:
PostPosted: April 30th, 2007, 4:37 am 
Offline
Forum Addict

Joined: February 17th, 2007, 9:16 pm
Posts: 405
Alright, I'll try this, thanks again Xantan. XD
(Edit) YOU JUST MADE CHEATING MAPS SO MUCH EASIER FOR ME. lol XD


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)