Staredit Network

Staredit Network -> UMS Assistance -> Unit Location
Report, edit, etc...Posted by FaithIsUponUs on 2006-12-01 at 21:49:53
I dont know how to make a location stay on a unit and I want to make like a obs map or wall ball or something but I dont know how to do the bound stuff and make a location stick to a unit.
Report, edit, etc...Posted by IsaT on 2006-12-01 at 22:13:15
To make a location 'stick' to a unit, you need to use the move location trigger.

The location will then center over the unit, and if you use preserve trigger it will stay there even if it moves.

Report, edit, etc...Posted by FaithIsUponUs on 2006-12-01 at 23:38:36
QUOTE(IsaT @ Dec 1 2006, 10:13 PM)
To make a location 'stick' to a unit, you need to use the move location trigger.

The location will then center over the unit, and if you use preserve trigger it will stay there even if it moves.

[right][snapback]598078[/snapback][/right]


Then how do you make like a bounds thing?
Kill All Units At Location?
But how to repeat it..
Report, edit, etc...Posted by green_meklar on 2006-12-02 at 10:44:43
Trigger
Players:
¤ Current player
Conditions:
¤ Always
Actions:
¤ Center location labeled Unit on [unit] owned by current player at Anywhere
¤ Preserve trigger


You can make the location any size you like, and afterwards use it for any purpose you like, it acts just as any other location does. This system is very widely used in UMS m aps. Be careful, though, because killing everything at that location will also kill the unit the location is following.
Report, edit, etc...Posted by fritfrat(U) on 2006-12-02 at 15:02:56
For doing the "bound stuff," I assume that you mean making the unit die once it touches an enemy. Just do this, with hyper triggers:

Player 1. Always: Center location (1x1 P1) on zerg zergling owned by current player at anywhere. Preserve trigger.

Player 1. If P8 brings atleast 1 any unit to (1x1 P1): kill all any unit for current player. Preserve trigger.

Then a revive trigger would look like this:

Force 1. Current player brings exactly 0 zergling to anywhere, current player has atleast 1 life (possibly atleast 1 custom score): Create 1 zling at (respawn), subtract 1 life, preserve trigger.
Next Page (1)