HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

UNIT WITHIN RANGE trigger = useless?

04-23-2004, 10:15 PM#1
The_Duggler99
Why wont this trigger let me use units stored in variables to determine the unit whos range we want to check others off in relation to?

For example. I have an elven ranger. I want to make it so that when a footman comes close to her, she dies. But lets say the Ranger is created via trigger, NOT preplaced? Then how do i do it?
04-23-2004, 10:49 PM#2
Arohk
Quote:
Originally Posted by The_Duggler99
Why wont this trigger let me use units stored in variables to determine the unit whos range we want to check others off in relation to?

For example. I have an elven ranger. I want to make it so that when a footman comes close to her, she dies. But lets say the Ranger is created via trigger, NOT preplaced? Then how do i do it?

place the archer anywhere on the map to hide it and move it to position insted of creating a new
04-23-2004, 10:56 PM#3
The_Duggler99
Quote:
Originally Posted by Arohk
place the archer anywhere on the map to hide it and move it to position insted of creating a new

Yikes. That's pretty sketchy. :P Alright then.
04-23-2004, 11:11 PM#4
The Gearhead
You could also create it, and when creating assign it a unit group. That way you can always select her through unit group.
04-23-2004, 11:48 PM#5
Anitarf
You can't use a variable in this type of event directly, but you can create a new event with a variable. Just use an trigger - add event whenever you create a new archer to also create an event that will run the killtrigger when a footman comes in range of the archer.