• 🏆 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!

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