Staredit Network

Staredit Network -> UMS Assistance -> Transforming a unit when he kills.
Report, edit, etc...Posted by DarkPythn on 2005-01-04 at 03:46:50
How can i set:
If a Terran Wraith Kills 1 Men,
How can i let it transvorm to a Battlecruiser,

Please in Trigger langua.


QUOTE((U)Bolt_Head @ Jan 3 2005, 02:00 PM)
Dark Python be specific when naming your threads.
[right][snapback]118581[/snapback][/right]


Sorry i typed wrong i dind ment 0 kills, i ment 1 kill cry.gif blink.gif confused.gif crazy.gif
Report, edit, etc...Posted by Screwed on 2005-01-04 at 05:13:08
Starcraft cannot identify what unit killed what, so therefore it is hard to recognise if a wraith have killed something. (from my experience)

However, if there is only one wraith in the game - do this.

Con
Always
Act
Centre location Wraith Centre on Wraith owned by Current Player.
Preserve Trigger

Note that the location called 'location wraith centre' is only the size of wraith's target range.

Con
Enemy brings at least 1 men to location wraith centre.
Act
Set Switch 'Enemy at wraith'

Con
Enemy brings at most 0 men to location wraith centre.
Act
Clear Switch 'Enemy at wraith'

Con
Kill Score: Current Player kills 1 men.
Enemy suffers exactly 1 death of men.
Switch 'Enemy at Wraith is set'
Act
Set Score: Set to 0 Kills. (a trigger something like this)
Set deaths for Enemy: set to 0 deaths.
Clear Switch 'Enemy at wraith'
Create 1 battlcrusier for Currentplayer at Enemy at wraith.
Remove all wraith for Current player.

With a few editting, hopefully these triggers will work.
Report, edit, etc...Posted by Urmom(U) on 2005-01-04 at 17:49:44
yes, there is no way to detect how many kills a specific unit has unless its the only unit the player controls. you may want to use screwed's method but be careful because another unit may have been attack along with the wraith so the wraith may not have gotten the kill so some stupid b.net users may get angry.
Report, edit, etc...Posted by (U)Bolt_Head on 2005-01-05 at 00:49:44
Well since I guess you can't be specific in your thread title. "need help" then i'll change it for you.

Please don't do it again, you did the exact same again.
Next Page (1)