• 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.

random trigger

Status
Not open for further replies.
Level 2
Joined
Jan 17, 2009
Messages
15
hi guys... does anyone know how to make a random trigger only work 1 time?
so ppl dont keep randoming heroes...

thx, laiozatt
 
Level 2
Joined
Jan 18, 2009
Messages
29
OR just put
Trigger-turn off (this trigger)

for an action. Truns it off after it runs
 
Level 3
Joined
May 16, 2009
Messages
11
Porlly the best way is to seperate each players -random commands in the triggers.. Example:

  • Events
    • Player - Player 1 (Red) types a chat message containing -random An exact match
    • Player - Player 2 (Blue) types a chat message containing -random An exact match
instead try:

  • Events
    • Player - Player 1 (Red) types a chat message containing -random An exact match
  • Events
    • Player - Player 2 (Blue) types a chat message containing -random An exact match
then after you do your random hero action, add Trigger - Turn off this Trigger at the end for each of them.
 
Level 2
Joined
Jan 17, 2009
Messages
15
actualy im not using them separatedly, so i think ill set (if has hero - work), (if dont have a hero - doesnt work), thx guys and sorry for my bad english

laiozatt
 
Status
Not open for further replies.
Top