- Joined
- Sep 27, 2009
- Messages
- 676
Hi guys, i'm creating an orpg map and i need respawn timer system...
And here's my respawn system:
THIS IS RESPAWN SET TRIGGER
....
It should elapse in 40 seconds and then it dissapear, It should work for all dead heroes.. ?
And here's my respawn system:
THIS IS RESPAWN SET TRIGGER
-
Village
-
Events
-
Unit - A unit enters Inn 1 <gen>
-
-
Conditions
-
Actions
-
Set Res[(Player number of (Owner of (Triggering unit)))] = (Center of Inn 1 <gen>)
-
Game - Display to (Player group((Owner of (Triggering unit)))) for 5.00 seconds the text: Respawn Point Saved...
-
-
-
Unit Respawn
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Dying unit) is A Hero) Equal to True
-
-
Actions
-
Game - Display to (Player group((Owner of (Triggering unit)))) for 5.00 seconds the text: Your hero will be r...
-
Wait 40.00 seconds
-
Hero - Instantly revive (Dying unit) at Res[(Player number of (Owner of (Triggering unit)))], Show revival graphics
-
Camera - Pan camera for (Owner of (Triggering unit)) to Res[(Player number of (Owner of (Triggering unit)))] over 0.00 seconds
-
-
It should elapse in 40 seconds and then it dissapear, It should work for all dead heroes.. ?