Really hate to ask, I have been trying and trying for 5+ hours to figure it out and not have to ask, but I am nearing a head ache. Have not felt so scrambled before, literally my head has been struggling to put the logic on straight and my mind has literally become unfocused Its just idk how to describe. Never been this mentally taxed I dont think.
Partially think it is because it is first time using them, and I have run into mixed responses or not quite applicable to what I need uses. I have though oh yea I get it so many times, but failed idk... idk omg Think I am going to lay down after this post. Finally motivated to get things done and getting constant roadblocks...
Essentially I need to revive a hero that has just died after a period of time designated by a timer/timer window. be able to see which timer expired as I am using an array of timers in case other players heroes dies, and revive them in the correct teams respawn by maybe checking if they are allied to the computer force of their team. I just cant seem to figure out a method that works, and cant figure out how hashtables that were recommended work.
Expire Timer
Death Timer
Could I get help finding ways to do this between these two trigger. I would really appreciate.
Yea.. laying down, I can't even think straight anymore...
Partially think it is because it is first time using them, and I have run into mixed responses or not quite applicable to what I need uses. I have though oh yea I get it so many times, but failed idk... idk omg Think I am going to lay down after this post. Finally motivated to get things done and getting constant roadblocks...
Essentially I need to revive a hero that has just died after a period of time designated by a timer/timer window. be able to see which timer expired as I am using an array of timers in case other players heroes dies, and revive them in the correct teams respawn by maybe checking if they are allied to the computer force of their team. I just cant seem to figure out a method that works, and cant figure out how hashtables that were recommended work.
Expire Timer
-
Respawn Hero
-
Events
- Time - HeroRespawn_Timer[1] expires
- Time - HeroRespawn_Timer[2] expires
- Time - HeroRespawn_Timer[3] expires
- Time - HeroRespawn_Timer[4] expires
- Time - HeroRespawn_Timer[5] expires
- Time - HeroRespawn_Timer[6] expires
- Time - HeroRespawn_Timer[7] expires
- Time - HeroRespawn_Timer[8] expires
- Time - HeroRespawn_Timer[9] expires
- Time - HeroRespawn_Timer[10] expires
- Conditions
- Actions
-
Events
Death Timer
-
Start Respawn Timer
-
Events
- Unit - A unit Dies
-
Conditions
- ((Triggering unit) is A Hero) Equal to True
-
Actions
- Set VariableSet HeroRespawn_Hero[(Player number of (Owner of (Triggering unit)))] = (Triggering unit)
- Countdown Timer - Start HeroRespawn_Timer[(Player number of (Owner of (Triggering unit)))] as a One-shot timer that will expire in HeroRespawn_Time seconds
- Countdown Timer - Create a timer window for (Last started timer) with title Respawn Time
- Countdown Timer - Show HeroRespawn_TimerWindow[(Player number of (Owner of (Triggering unit)))] for (Owner of (Triggering unit))
- Hashtable - Save Handle Of(Last started timer) as 0 of (Player number of (Owner of (Triggering unit))) in HeroRespawn_Hash.
-
Events
Could I get help finding ways to do this between these two trigger. I would really appreciate.
Yea.. laying down, I can't even think straight anymore...