Staredit Network

Staredit Network -> UMS Assistance -> Location following unit
Report, edit, etc...Posted by Carnorus on 2004-10-09 at 13:06:15
I'm making a map where it ahs spells, so how can I get the spell casted where the eprson casts from?

I was thinking having a location follow a unit? Possible?
Report, edit, etc...Posted by BeeR_KeG on 2004-10-09 at 13:10:14
Make a location possibly 4x4 or 2x2 follow the unit.
When you cast the spell make it something like this:


null
Trigger
Players:
¤ Player X
Conditions:
¤ Current player did something for spell
Actions:
¤ Do spell affects at the location designated for Current Player
¤ Anything else
¤ Preserve Trigger


It's quite simple as you can see, although you have to be careful with airunits over units in the unplaceable terrain.
Report, edit, etc...Posted by Carnorus on 2004-10-09 at 13:38:51
But how do I get the location to follow the unit?
Report, edit, etc...Posted by KiLLeR2001 on 2004-10-09 at 13:50:59
The MoveLocation action. Just simply tell it to center location on the unit you want whenever you need it to happen. Preserving trigger allows it to continually center the location on the unit at all times so you know where it is. Hyper triggers make it work more effectively as well.
Report, edit, etc...Posted by Urmom(U) on 2004-10-09 at 21:06:00
heres the exact trigger you wanted:


null
Trigger
Conditions:
¤ Always
Actions:
¤ Move Location: Center Location labled "location" on "units" owned by "Player" at "Location"
¤ Preserve Trigger
¤ Comment: Center Locationi(Optional)


hope it helps
Report, edit, etc...Posted by LegacyWeapon on 2004-10-09 at 22:47:35
See the example of the location following the while it dies when you walk into the "fire"
But the basic concept of the location following the ling is there
Report, edit, etc...Posted by Ninja)be( on 2004-10-15 at 22:04:35
center view... lol ur a beginner map maker u should kno this... its one of the easiest things.
Next Page (1)