Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Number of units in TempGroup) Equal to 0
Then - Actions
Game - Display to (Player group((Owner of (Triggering unit)))) the text: There are no usable corpses nearby.
Unit - Order (Triggering unit) to Stop .
-------- Here you must set the mana of the spell. --------
Unit - Set mana of (Triggering unit) to ((Mana of (Triggering unit)) + 20.00)
Else - Actions
Custom script: call RemoveLocation(udg_TempPoint)
Custom script: call DestroyGroup(udg_TempGroup)
Suicide
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Suicide
Actions
Unit - Kill (Triggering unit)
(Unit-type of (Picked unit) Gleich XXX = bosses who doesnt respawn
Respawn Initialize
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
Set Variable Set tmpintegar = "0"
Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
Then - Actions
-------- Above = bosses who shouldnt respawn --------
Else - Actions
Set Variable Set graveyardpoint[tmpintegar] = (Position of (Picked unit))
Set Variable Set graveyardunit[tmpintegar] = (Unit-type of (Picked unit))
Unit - Set the custom value of (Picked unit) to tmpintegar
Set Variable Set tmpintegar = (tmpintegar + 1)
Revives anything as is in the orignal starting spot.
Change Animation for air units
Respawn Working
Events
Unit - A unit owned by Neutral Hostile . Dies
Conditions
Actions
-------- change here the respawn time --------
Wait 30.00 seconds
Unit - Create 1 . graveyardunit[(Custom value of (Dying unit))] for Neutral Hostile at graveyardpoint[(Custom value of (Dying unit))] facing Default building facing degrees
-------- air units --------
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
Then - Actions
Animation - Change (Last created unit) flying height to 100.00 at 1.00
Else - Actions
Unit - Set the custom value of (Last created unit) to (Custom value of (Dying unit))
Message
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Game - Display to (All players) the text: I made that system to prevent removing units when somebody uses normal Raise Dead Spell.Now the respawn system respawns all the units and the raised.
Wait 2 seconds
Game - Display to (All players) the text: Please give me credit if you use that spell.---Nickba---
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.