- Joined
- Jun 8, 2005
- Messages
- 22
This is for my HeavyCombat 1.4 map, for some reason the respawn isnt working, its almost exact to the respawn in 1.3 and 1.3 works, all regions and Varubles are correct in this, Is there such thing as a bugged trigger?
when i test this trigger it ACTUALY says You will resapwn in # seconds, so the conditions are right and all but u never respawn!!!?! WHAT IS WRONG!!!!
Please help me so i can host my map online and add it to this site!
This is the CTF Respawn trigger from 1.3:
when i test this trigger it ACTUALY says You will resapwn in # seconds, so the conditions are right and all but u never respawn!!!?! WHAT IS WRONG!!!!
Please help me so i can host my map online and add it to this site!
Code:
CTF Respawn
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Owner of (Dying unit)) Equal to Player 2 (Blue)
(Owner of (Dying unit)) Equal to Player 3 (Teal)
(Owner of (Dying unit)) Equal to Player 4 (Purple)
(Owner of (Dying unit)) Equal to Player 5 (Yellow)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 6 (Orange)
(Owner of (Killing unit)) Equal to Player 7 (Green)
(Owner of (Killing unit)) Equal to Player 8 (Pink)
(Owner of (Killing unit)) Equal to Player 9 (Gray)
(Owner of (Killing unit)) Equal to Player 10 (Light Blue)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)
Hero - Add 1 experience to (Killing unit), Hide level-up graphics
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Fragged + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String((Hero level of (Dying unit)))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait (Real((Hero level of (Dying unit)))) seconds
Hero - Instantly revive (Dying unit) at (Random point in Map_Spawn[1]), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 8.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Owner of (Dying unit)) Equal to Player 2 (Blue)
(Owner of (Dying unit)) Equal to Player 3 (Teal)
(Owner of (Dying unit)) Equal to Player 4 (Purple)
(Owner of (Dying unit)) Equal to Player 5 (Yellow)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
(Owner of (Killing unit)) Equal to Player 2 (Blue)
(Owner of (Killing unit)) Equal to Player 3 (Teal)
(Owner of (Killing unit)) Equal to Player 4 (Purple)
(Owner of (Killing unit)) Equal to Player 5 (Yellow)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Teamkilled + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String((Hero level of (Dying unit)))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] - 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait (Real((Hero level of (Dying unit)))) seconds
Hero - Instantly revive (Dying unit) at (Random point in Map_Spawn[1]), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 5.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 6 (Orange)
(Owner of (Dying unit)) Equal to Player 7 (Green)
(Owner of (Dying unit)) Equal to Player 8 (Pink)
(Owner of (Dying unit)) Equal to Player 9 (Gray)
(Owner of (Dying unit)) Equal to Player 10 (Light Blue)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 6 (Orange)
(Owner of (Killing unit)) Equal to Player 7 (Green)
(Owner of (Killing unit)) Equal to Player 8 (Pink)
(Owner of (Killing unit)) Equal to Player 9 (Gray)
(Owner of (Killing unit)) Equal to Player 10 (Light Blue)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (0.00%, 0.00%, 100.00%)
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Teamkilled + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String((Hero level of (Dying unit)))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] - 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait (Real((Hero level of (Dying unit)))) seconds
Hero - Instantly revive (Dying unit) at (Random point in Map_Spawn[2]), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 5.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 6 (Orange)
(Owner of (Dying unit)) Equal to Player 7 (Green)
(Owner of (Dying unit)) Equal to Player 8 (Pink)
(Owner of (Dying unit)) Equal to Player 9 (Gray)
(Owner of (Dying unit)) Equal to Player 10 (Light Blue)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
(Owner of (Killing unit)) Equal to Player 2 (Blue)
(Owner of (Killing unit)) Equal to Player 3 (Teal)
(Owner of (Killing unit)) Equal to Player 4 (Purple)
(Owner of (Killing unit)) Equal to Player 5 (Yellow)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (0.00%, 0.00%, 100.00%)
Hero - Add 1 experience to (Killing unit), Hide level-up graphics
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Fragged + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String((Hero level of (Dying unit)))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait (Real((Hero level of (Dying unit)))) seconds
Hero - Instantly revive (Dying unit) at (Random point in Map_Spawn[2]), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 5.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing
This is the CTF Respawn trigger from 1.3:
Code:
CTF Respawn
Events
Unit - A unit Dies
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 2 (Blue)
(Owner of (Dying unit)) Equal to Player 4 (Purple)
(Owner of (Dying unit)) Equal to Player 6 (Orange)
(Owner of (Dying unit)) Equal to Player 8 (Pink)
(Owner of (Dying unit)) Equal to Player 10 (Light Blue)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 2 (Blue)
(Owner of (Killing unit)) Equal to Player 4 (Purple)
(Owner of (Killing unit)) Equal to Player 6 (Orange)
(Owner of (Killing unit)) Equal to Player 8 (Pink)
(Owner of (Killing unit)) Equal to Player 10 (Light Blue)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (0.00%, 0.00%, 100.00%)
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Teamkilled + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String(((Hero level of (Dying unit)) x 2))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] - 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait ((Real((Hero level of (Dying unit)))) x 2.00) seconds
Hero - Instantly revive (Dying unit) at (Random point in team2 spawn <gen>), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 5.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Owner of (Dying unit)) Equal to Player 3 (Teal)
(Owner of (Dying unit)) Equal to Player 5 (Yellow)
(Owner of (Dying unit)) Equal to Player 7 (Green)
(Owner of (Dying unit)) Equal to Player 9 (Gray)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
(Owner of (Killing unit)) Equal to Player 3 (Teal)
(Owner of (Killing unit)) Equal to Player 5 (Yellow)
(Owner of (Killing unit)) Equal to Player 7 (Green)
(Owner of (Killing unit)) Equal to Player 9 (Gray)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Teamkilled + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String(((Hero level of (Dying unit)) x 2))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] - 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait ((Real((Hero level of (Dying unit)))) x 2.00) seconds
Hero - Instantly revive (Dying unit) at (Random point in team1 spawn <gen>), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 5.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 2 (Blue)
(Owner of (Dying unit)) Equal to Player 4 (Purple)
(Owner of (Dying unit)) Equal to Player 6 (Orange)
(Owner of (Dying unit)) Equal to Player 8 (Pink)
(Owner of (Dying unit)) Equal to Player 10 (Light Blue)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 1 (Red)
(Owner of (Killing unit)) Equal to Player 3 (Teal)
(Owner of (Killing unit)) Equal to Player 5 (Yellow)
(Owner of (Killing unit)) Equal to Player 7 (Green)
(Owner of (Killing unit)) Equal to Player 9 (Gray)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (0.00%, 0.00%, 100.00%)
Hero - Add ((Hero level of (Dying unit)) x 60) experience to (Killing unit), Hide level-up graphics
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Fragged + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String(((Hero level of (Dying unit)) x 2))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait ((Real((Hero level of (Dying unit)))) x 2.00) seconds
Hero - Instantly revive (Dying unit) at (Random point in team2 spawn <gen>), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 5.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
(Unit-type of (Dying unit)) Not equal to Choose Weapon
Or - Any (Conditions) are true
Conditions
(Owner of (Dying unit)) Equal to Player 1 (Red)
(Owner of (Dying unit)) Equal to Player 3 (Teal)
(Owner of (Dying unit)) Equal to Player 5 (Yellow)
(Owner of (Dying unit)) Equal to Player 7 (Green)
(Owner of (Dying unit)) Equal to Player 9 (Gray)
Or - Any (Conditions) are true
Conditions
(Owner of (Killing unit)) Equal to Player 2 (Blue)
(Owner of (Killing unit)) Equal to Player 4 (Purple)
(Owner of (Killing unit)) Equal to Player 6 (Orange)
(Owner of (Killing unit)) Equal to Player 8 (Pink)
(Owner of (Killing unit)) Equal to Player 10 (Light Blue)
Then - Actions
Cinematic - Ping minimap for (All players) at (Position of (Dying unit)) for 1.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)
Hero - Add ((Hero level of (Dying unit)) x 60) experience to (Killing unit), Hide level-up graphics
Game - Display to (All players) for 6.00 seconds the text: ((Name of (Owner of (Killing unit))) + ( Fragged + (Name of (Owner of (Dying unit)))))
Game - Display to (All players matching ((Matching player) Equal to (Owner of (Dying unit)))) for 10.00 seconds the text: (You have died, you will revive in + ((String(((Hero level of (Dying unit)) x 2))) + Seconds.))
Set Kills[(Player number of (Owner of (Killing unit)))] = (Kills[(Player number of (Owner of (Killing unit)))] + 1)
Wait 1.00 seconds
Leaderboard - Change the value for (Owner of (Killing unit)) in Leaderboard to Kills[(Player number of (Owner of (Killing unit)))]
Leaderboard - Sort Leaderboard by Value in Descending order
Leaderboard - Show Leaderboard
Wait ((Real((Hero level of (Dying unit)))) x 2.00) seconds
Hero - Instantly revive (Dying unit) at (Random point in team1 spawn <gen>), Hide revival graphics
Unit - Set mana of (Dying unit) to 60.00%
Unit - Make (Dying unit) Invulnerable
Wait 8.00 seconds
Unit - Make (Dying unit) Vulnerable
Else - Actions
Do nothing