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

Need Help with a trigger

Status
Not open for further replies.
Level 3
Joined
Dec 3, 2011
Messages
18
Hi Guys, I was creating a Custom map today when I decided to add some cinematic triggers, but I've soon faced a problem.
How can I make an event happen (Unit spawn, for ex.) when a Unit Enters a Specific Region JUST ONCE?

I wanted a unit to spawn on Region 2 when my unit walked on Region 1, but I've seen that for every unit passing on region 1 the spawn number is equal to passing units' number, and it also happens every time a unit, or group, is passing!

:goblin_jawdrop:
 
Well, to limit who the trigger will fire for, you simply need to add a condition:
  • Region
    • Events
      • Unit - A unit enters Region 1 <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Footman
    • Actions
Replace "Footman" with the unit type that you want your trigger to fire for. You can also just change it to "Entering unit Equal to <MyHero>" if you want it to only happen for one unit.

If you want the trigger to only occur once, then in the "Actions" part, you simply put
  • Trigger - Turn off (This trigger)
Good luck. I don't know if these function names are exact, but they should be close enough.

EDIT: This also belongs in a different forum. You can post this in the World Editor Help Zone next time.
 
Status
Not open for further replies.
Top