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

Dungeon Lvl rec.

Status
Not open for further replies.
Level 6
Joined
Jul 28, 2009
Messages
143
Hi guys! I need help with a thing to my Rpg.

The thing is how i can make a dungeon when you need to be lvl 5 to enter.

ex. A unit enters region Dungen 1 In, and the unit need to be lvl 5 to enter.


Plzz HELP!

// Blek121
 
  • Trigger
  • Events
    • Unit - A unit enters Dungeon 1 <gen>
  • Conditions
    • (Hero level of (Triggering unit)) Less than 5 //Integer comparison
  • Actions
    • Set Points[1] = (Position of (Triggering unit))
    • Set Points[2] = (Points[1] offset by 30.00 towards ((Facing of (Triggering unit)) - 180.00)
    • Unit - Move (Triggering unit) instantly to Points[2]
    • Custom script: call RemoveLocation (udg_Points[1])
    • Custom script: call RemoveLocation (udg_Points[2])
If your unit is not a hero-classified unit, use
  • (Level of (Triggering unit)) Less than 5
The first one is Hero - Hero level and the second one is Unit - Unit level.
 
Level 6
Joined
Jul 28, 2009
Messages
143
  • Trigger
  • Events
    • Unit - A unit enters Dungeon 1 <gen>
  • Conditions
    • (Hero level of (Triggering unit)) Less than 5 //Integer comparison
  • Actions
    • Set Points[1] = (Position of (Triggering unit))
    • Set Points[2] = (Points[1] offset by 30.00 towards ((Facing of (Triggering unit)) - 180.00)
    • Unit - Move (Triggering unit) instantly to Points[2]
    • Custom script: call RemoveLocation (udg_Points[1])
    • Custom script: call RemoveLocation (udg_Points[2])
If your unit is not a hero-classified unit, use
  • (Level of (Triggering unit)) Less than 5
The first one is Hero - Hero level and the second one is Unit - Unit level.



Nice, You help me 24/7 :p
 
Status
Not open for further replies.
Top