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

[Trigger] Semi-Advanced trigger problem

Status
Not open for further replies.
Level 2
Joined
Nov 3, 2006
Messages
8
Alright so heres the trouble, i have a trigger that spawns creeps based on several factors, and those work fine, But! the event is

"Unit comes within range of (specific unit)"

And then the action is _supposed_ to spawn the creeps at the node, however i cannot get them to spawn on the node because theres no function to call "the unit thats being approched" kinda thing, so, im stuck .. If this isnt clear enough, heres what the trigger used to look like (before i modified it for the long way)

Actions:
Unit - Create 2 Lowlife Thug for Neutral Hostile at (Position of (Random unit from (Units within 700.00 of (Position of (Triggering unit)) matching ((Unit-type of (Matching unit)) Equal to SpawnerNode)))) facing (Position of (Triggering unit))

The problematic part is
(Position of Random unit from (Units within 700.00 of (Position of (Triggering Unit)) matching ((Unit-type of (Matching unit)) Equal to SpawnerNode))))

If someone knows a way to have the trigger find the node that is being approched, thats what i need.
 
Level 2
Joined
Nov 3, 2006
Messages
8
Hmmm i see. well, i'll just do it the way i've got it set now, works kinda like a "random battles" idea, i simply used the target spawn point being the triggering unit. so you walk into range and BAM! jumped by the mobs. lol.
Thank you much for your help, i appriciate it. Peace~
 
Status
Not open for further replies.
Top