• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Help Please, Triggers, Random Region Teleport

Status
Not open for further replies.
Level 4
Joined
Apr 5, 2008
Messages
90
Basically create 4 different regions, where ever you need them to be. Then, I believe you have to:

Actions:
Set RandomRegions (Variable, Array) to Region 1
Set RandomRegions (Variable, Array) to Region 2
Set RandomRegions (Variable, Array) to Region 3
Set RandomRegions (Variable, Array) to Region 4

Now for the casting Trigger:
Events:
Unit casts an ability.
Conditions:
Ability (being cast) = Teleport
Actions:
Move unit instantly to RandomRegions(Random number between 1 and 4).

If they choose, then look for a dialog box tutorial.
 
Status
Not open for further replies.
Top