• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] want trigger code

Status
Not open for further replies.
Level 37
Joined
Mar 6, 2006
Messages
9,240
So you have a hero picking system. When a player has picked a hero use this:

  • Set booleans1[(Player number of (Triggering player))] = True
Add a line in the pick thingy, in conditions:
  • booleans1[(Player number of (Triggering player))] Equal to False
Create a unit or unit type array, where heroes[1] = hero1, heroes[2] = hero2 and so on. When someone picks hero, loop through the array and check the index of the picked unit. Then set the same index in another boolean array to true.

And again check the boolean before allowing a player to select the hero.

If you don't understand what I'm saying, then post the hero pick system you're using.
 
Level 6
Joined
Oct 10, 2009
Messages
1,425
First post: 07-15-2010, 03:35 AM
Second: 07-15-2010, 03:45 AM

Good lord.
No patience at all!

Sometimes it can take days.

You have to wait at least 24 (maybe 48) hours before you are allowed to bump.
Keep that in mind next time.
 
Status
Not open for further replies.
Top