Hello!
I'm trying to recreate a map from Brood War called Observer Madness where you're trying to avoid observers with your given units.
I'm trying to make it so that when your unit enters the region of an observer, it dies. The problem is that the trigger "Unit Enters/Leaves Range Of Unit" doesn't seem to allow more than one unit. I can choose a unit group, but only "random unit from unit group". I want all of them!
I guess you could make something in date editor too, but triggers seems easier.
Do it with data editor instead of triggers. should be much easier, and you won't need to create region for every single observer.
Basically create this:
Effect (damage), jest check Kill flag and thats all.
Effect (search area), uncheck self, friendly, player. Create 360 degree arc with radius of whatever. Set effect to fire off when targets found to Effect (damage).
Behavior (Buff), set periodic effect to Effect(search area), change period to 0.01.
Add this behavior to observer or whatever you want.
That way, any unit with behavior, will scan area of specified radius every 0.01 (is 1/16th of second in reality) and kill any target which matches filters specified in search area.
If you REALLY don't want to use data editor, you have to duplicate event "Unit Enters/Leaves Range Of Unit" for EVERY SINGLE observer, as event don't allow any variables to be used there.
Do it with data editor instead of triggers. should be much easier, and you won't need to create region for every single observer.
Basically create this:
Effect (damage), jest check Kill flag and thats all.
Effect (search area), uncheck self, friendly, player. Create 360 degree arc with radius of whatever. Set effect to fire off when targets found to Effect (damage).
Behavior (Buff), set periodic effect to Effect(search area), change period to 0.01.
Add this behavior to observer or whatever you want.
That way, any unit with behavior, will scan area of specified radius every 0.01 (is 1/16th of second in reality) and kill any target which matches filters specified in search area.
If you REALLY don't want to use data editor, you have to duplicate event "Unit Enters/Leaves Range Of Unit" for EVERY SINGLE observer, as event don't allow any variables to be used there.
Hm, this doesn't seem to work at all.
"Uncheck self, friendly, player"
Not really sure where to do this.
"change period to 0.01."
Is this in the field "Stats - Period"?
Sorry for my noobyness. : ( First time doing something like this.
try following this tut. Disregard first 1-2 steps which creates apply behavior, and instead use your Damage effect flagged for kill unit (in search-area-effect part).
Hello! I'm trying to recreate a map from Brood War called Observer Madness where you're trying to avoid observers with your given units. I'm trying to make it so that when your unit enters the region of an observer, it dies. The problem is that the trigger "Unit Enters/Leaves Range Of Unit" doesn't seem to allow more than one unit. I can choose a unit group, but only "random unit from unit group". I want all of them!
I guess you could make something in date editor too, but triggers seems easier.
Video of observer madness in Brood War:
Do it with data editor instead of triggers. should be much easier, and you won't need to create region for every single observer.
Basically create this:
That way, any unit with behavior, will scan area of specified radius every 0.01 (is 1/16th of second in reality) and kill any target which matches filters specified in search area.
If you REALLY don't want to use data editor, you have to duplicate event "Unit Enters/Leaves Range Of Unit" for EVERY SINGLE observer, as event don't allow any variables to be used there.
Hm, this doesn't seem to work at all.
"Uncheck self, friendly, player" Not really sure where to do this.
"change period to 0.01." Is this in the field "Stats - Period"?
Sorry for my noobyness. : ( First time doing something like this.
http://forums.sc2mapster.com/resources/tutorials/9277-applying-an-aura-to-a-unit-easy-difficulty/
try following this tut. Disregard first 1-2 steps which creates apply behavior, and instead use your Damage effect flagged for kill unit (in search-area-effect part).
@uiasdnmb: Go
Alright, thanks for the help!