- Joined
- Aug 14, 2006
- Messages
- 7,614
Hi.
I need your help. I'm creating an item that resurrects the wielder. Something is wrong, it resurrects the wielder always. The countdown trigger should be the cooldown.
I need your help. I'm creating an item that resurrects the wielder. Something is wrong, it resurrects the wielder always. The countdown trigger should be the cooldown.
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Dying unit) has an item of type Angel's Prayer) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for Revive_Timer[1]) Less than or equal to 0.00
-
-
Then - Actions
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 100.00%
-
Unit - Set mana of (Dying unit) to 100.00%
-
Countdown Timer - Start Revive_Timer[1] as a One-shot timer that will expire in 300.00 seconds
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
Game Over Fradz
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
(Dying unit) Equal to AAAFradz
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Dying unit) has an item of type Wings Of An Angel) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Resource__LUCK Greater than 9
-
-
Then - Actions
-
Set Integer = (90 + (Resource__LUCK - 9))
-
-
Else - Actions
-
Set Integer = (Resource__LUCK x 10)
-
Set Random = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Random Less than or equal to Integer
-
-
Then - Actions
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 100.00%
-
Unit - Set mana of (Dying unit) to 100.00%
-
Skip remaining actions
-
-
Else - Actions
-
-
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Dying unit) has an item of type Angel's Prayer) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for Revive_Timer[1]) Less than or equal to 0.00
-
-
Then - Actions
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 100.00%
-
Unit - Set mana of (Dying unit) to 100.00%
-
Countdown Timer - Start Revive_Timer[1] as a One-shot timer that will expire in 300.00 seconds
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Dying unit) has an item of type Angel's Gift) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for Revive_Timer[2]) Less than or equal to 0.00
-
-
Then - Actions
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 100.00%
-
Unit - Set mana of (Dying unit) to 100.00%
-
Countdown Timer - Start Revive_Timer[2] as a One-shot timer that will expire in 300.00 seconds
-
Skip remaining actions
-
-
Else - Actions
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Dying unit) has an item of type Belt Of Sunrise) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Remaining time for Revive_Timer[3]) Greater than or equal to 1.00
-
-
Then - Actions
-
Else - Actions
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 100.00%
-
Unit - Set mana of (Dying unit) to 100.00%
-
Countdown Timer - Start Revive_Timer[3] as a One-shot timer that will expire in 300.00 seconds
-
Skip remaining actions
-
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Dying unit) has an item of type Resurrection Phial) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Charges remaining in (Item carried by (Dying unit) of type Resurrection Phial)) Less than or equal to 1
-
-
Then - Actions
-
Item - Remove (Item carried by (Dying unit) of type Resurrection Phial)
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 50.00%
-
Unit - Set mana of (Dying unit) to 50.00%
-
Skip remaining actions
-
-
Else - Actions
-
Item - Set charges remaining in (Item carried by (Dying unit) of type Resurrection Phial) to ((Charges remaining in (Item carried by (Dying unit) of type Resurrection Phial)) - 1)
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 50.00%
-
Unit - Set mana of (Dying unit) to 50.00%
-
Skip remaining actions
-
-
-
-
Else - Actions
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Dying unit) has an item of type Strong Resurrection Phial) Equal to True
-
-
Then - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Charges remaining in (Item carried by (Dying unit) of type Strong Resurrection Phial)) Less than or equal to 1
-
-
Then - Actions
-
Item - Remove (Item carried by (Dying unit) of type Strong Resurrection Phial)
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 100.00%
-
Unit - Set mana of (Dying unit) to 100.00%
-
Skip remaining actions
-
-
Else - Actions
-
Item - Set charges remaining in (Item carried by (Dying unit) of type Strong Resurrection Phial) to ((Charges remaining in (Item carried by (Dying unit) of type Strong Resurrection Phial)) - 1)
-
Wait 3.00 seconds
-
Hero - Instantly revive (Dying unit) at (Position of (Dying unit)), Show revival graphics
-
Unit - Set life of (Dying unit) to 100.00%
-
Unit - Set mana of (Dying unit) to 100.00%
-
Skip remaining actions
-
-
-
-
Else - Actions
-
-
Unit - Pause all units
-
Sound - Play gg_snd_Game_Over
-
Animation - Change Game_Over_Unit's animation speed to 20.00% of its original speed
-
Camera - Lock camera target for Player 1 (Red) to Game_Over_Unit, offset by (0.00, 0.00) using Default rotation
-
Camera - Set Player 1 (Red)'s camera Distance to target to ((Distance to target of the current camera view) - 500.00) over 5.00 seconds
-
Cinematic - Fade out over 5.00 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
-
For each (Integer A) from 1 to 10, do (Actions)
-
Loop - Actions
-
Set Music_Volume = (Music_Volume - 10.00)
-
Sound - Set music volume to Music_Volume%
-
Wait 0.10 seconds
-
-
-
Sound - Stop music Immediately
-
Sound - Clear the music list
-
Wait 4.00 seconds
-
Cinematic - Apply a filter over 2.00 seconds using No blending on texture war3campImported\Game Over512x512.blp, starting with color (0.00%, 0.00%, 0.00%) and 0.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transparency
-
Wait 2.00 seconds
-
Cinematic - Apply a filter over 9999.00 seconds using No blending on texture war3campImported\Game Over512x512.blp, starting with color (100.00%, 100.00%, 100.00%) and 100.00% transparency and ending with color (100.00%, 100.00%, 100.00%) and 100.00% transparency
-
Wait 5.00 seconds
-
Game - Defeat Player 1 (Red) with the message: |c00FF80FFDragon Sl...
-
-
Last edited: