Hello. I've been trying to find a way to restart a map when pressing a button or a key combination.
I used the trigger "Key pressed" and when i tested the map it worked flawlessly.
However, it doesn't seem to work online. Can you really not restart a map when playing online?
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.
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.
0
Hello. I've been trying to find a way to restart a map when pressing a button or a key combination. I used the trigger "Key pressed" and when i tested the map it worked flawlessly.
However, it doesn't seem to work online. Can you really not restart a map when playing online?
0
@uiasdnmb: Go
Alright, thanks for the help!
0
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.
0
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: