• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

[Trigger] Need some help with ambush system.

Status
Not open for further replies.
Level 2
Joined
Sep 19, 2008
Messages
25
I've got about 300 spots on my map where I would like there to be an ambush if player 1 enters. I've set up regions and dummy units but neither seem to look promising. I would individually have to set up each region as an event, same with the dummy units, depending on the route I go. I was hoping to see if there were other ways I could achieve this. Any ideas?
 
Level 2
Joined
Sep 19, 2008
Messages
25
Well, all I'm looking at doing right now is detecting whether player 1 has come within range of the dummy unit or is in the region. Beyond that, I've figured everything out. I'm just trying to make sure there isn't an easier way than doing 300 events.
 
Level 2
Joined
Sep 19, 2008
Messages
25
Haha, just started the new one :p

Well, I'm trying to mix in the ambushes and the creeps because one player plays as a dungeon master of sorts. I tried giving the dummy unit an attack and checked whether it attacked a unit to trigger the event, but I didn't see it attacking at all. I may mess around a bit more with that though. Persistence never hurt I guess :/
 
Status
Not open for further replies.
Top