• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help requested Hero revival system

Status
Not open for further replies.
Level 7
Joined
May 15, 2009
Messages
192
Hello again to whomever reads this post. This time around, im needing help with my hero revive system for my map. It is suppose to revive the hero after (Heroes level + 30 seconds) However I think something went wrong with my array settings, and the trigger does nothing.


Thx in advance, and also. Please explain my mistakes if you can.
 

Attachments

  • Hero Revival System.w3x
    9.1 KB · Views: 41
Level 7
Joined
May 15, 2009
Messages
192
Thx for the help, but what did you mean when you said "set the initial size of the timer array to a larger value than 1"?

Anyway, thx for the helpful trigger, and btw, what is hashtable?



Uhh, ok im just editing now. I moved the trigger onto my own map, and the only thing I changed was the locations. Now it has stopped working -.-
 
Last edited:
Level 37
Joined
Mar 6, 2006
Messages
9,243
Thx for the help, but what did you mean when you said "set the initial size of the timer array to a larger value than 1"?

In variable editor, click the variable to edit it's name, type, array status and size. Setting the (initial) size will initialize the first array slots.

Anyway, thx for the helpful trigger, and btw, what is hashtable?

It can be perceived as a data storage, a two-dimensional array. You can save data into it and the load it with proper keys.

Uhh, ok im just editing now. I moved the trigger onto my own map, and the only thing I changed was the locations. Now it has stopped working -.-

You could post the map or the triggers.
 
Status
Not open for further replies.
Top