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. ^ ^
 
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.
Back
Top