Events
Unit - A unit enters a Your_Region
Conditions
Level of (Triggering Unit) Not Equal to 85
Actions
Set Temp_Point = (Some point outside Your_Region)
Unit - Move (Triggering Unit) to Temp_Point
Custom script: call RemoveLocation(udg_Temp_Point)
If you don't want your heroes to just get magically pushed back you could use a door, or you could use some units without models (do units without models have collision? Sorry, I haven't coded in a long time) and place them all around the area and hide them when an 85 hero goes near and then replace them again.
Or, you could just order the unit to stop when it is issued an order within the area in question.
Trigger:
- Level 85
- Events
- Unit - A unit enters Team 1 shops <gen>
- Conditions
- Your condition
- Actions
- Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Move (Triggering unit) instantly to (Center of Blink 1 <gen>)
Make 2 regions like such.
() •
() = Main
• = Move to region
Look at post count
Still beginner?
You do know that it contain leaks?
Just because they have a low amount of posts doesn't mean they're a beginner.
Trigger:
- Level 85
- Events
- Unit - A unit enters Team 1 shops <gen>
- Conditions
- Your condition
- Actions
- Special Effect - Create a special effect at (Position of (Triggering unit)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
- Special Effect - Destroy (Last created special effect)
- Unit - Move (Triggering unit) instantly to (Center of Blink 1 <gen>)
Make 2 regions like such.
() •
() = Main
• = Move to region
Just because they have a low amount of posts doesn't mean they're a beginner.
Quote:
HeX.16 is right. The solution to the problem doesn't need to be written perfectly if the idea is portrayed.