Staredit Network

Staredit Network -> UMS Assistance -> Question?
Report, edit, etc...Posted by Staredit.Net Essence on 2005-02-24 at 16:34:57
How do I make items appear by a unit after I kill a unit in a location?
Report, edit, etc...Posted by LethaL on 2005-02-24 at 16:54:30
You mean like in Dodging games, where you die and turn into a crystal/flag/something?

Trigger
Players:
¤ Player with the unit
Conditions:
¤ Always (Or whatever Condition needed)
Actions:
¤ Center location labeled 'Location X' on 'Unit X' owned by Current Player at 'Location Y'
¤ Preserve Trigger

Location X = The location you're centering on the unit
Location Y = The general area the unit is in (If there's only one of this unit for the player, it's easier to use 'Anywhere')
Unit X = The unit that Location X will be centered one (The unit that is doing the dying)
Unit Y = The unit that will be placed once Unit X dies

Now for the trigger that places Unit Y where Unit X was when it dies:
Trigger
Players:
¤ Player with the unit
Conditions:
¤ Current Player brings Exactly 0 Unit X to Location X
Actions:
¤ Create 1 Unit Y at Location X for Current Player
¤ Preserve Trigger

Report, edit, etc...Posted by Heimdal on 2005-02-24 at 20:54:38
Just for future reference...please NEVER post a topic titled "question." Be more descriptive, and you're likely to attract the attention of the people that specialize in that area.
Report, edit, etc...Posted by chuiu on 2005-02-25 at 01:10:58
As it states in the very page you go to to start a topic.
Next Page (1)