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

Restriccion help me

Status
Not open for further replies.
Level 2
Joined
Aug 7, 2010
Messages
14
Hi, look I need to know the following when a hero comes at level 10 can pass suppose desert point, but if less than this level will prevent the pass.

You need to know how to buy a tavern missions

Thanks + REP. ^ ^
 
Level 22
Joined
Jan 10, 2005
Messages
3,426
Create a line of pathing blockers at the entrance. Then once the hero reaches level 10, pick all those pathing blockers and destroy them.

If it's for an online game, create a region at the entrance. And make a trigger like this:

  • Events
    • Unit - A unit enters (Region at the entrance of your area)
  • Conditions
  • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Hero level of (Triggering unit)) Less than or equal to 9
      • Then - Actions
        • Unit - Move (Triggering unit) instantly to ((Position of (Triggering unit)) offset by (0.00, 0.00))
      • Else - Actions
The condition is an integer condition.

The offset depends on what direction the hero is coming from. For example, if the hero enters the region from the south, move it to Position of (Triggering unit)) offset by (0.00, -75.00).
 
Status
Not open for further replies.
Top