• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Trigger Help

Status
Not open for further replies.
Level 2
Joined
Feb 23, 2006
Messages
11
PurplePoot said:
have a boolean for each player called 'repicked(then the player number)' which have a value of false.

when the player types -repick or however you do it, set their repick var to true.

for the triggers condition, you say 'repick(player num of player) equal to false'

sorry can u write it how i could do it in the WE editor im newb at finding triggers

Edit: Nvm Thanks I got it!
 
Level 12
Joined
Jul 2, 2004
Messages
471
Variable used
Repick Boolean Array


Events:
Player - Player <1 to 12> (Red) types a chat message containing -repick as An exact match

Conditions
Repick[(Player number of (Triggering player))] Equal to False

Actions
Set Repick[(Player number of (Triggering player))] = True

and your other actions....
 
Status
Not open for further replies.
Top