Warcraft editor
Would you like to react to this message? Create an account in a few clicks or log in to continue.


it's about warcraft III and warcraft III editor
 
HomeLatest imagesSearchRegisterLog in

 

 Hero revival

Go down 
AuthorMessage
Admin
Admin



Posts : 4
Join date : 2009-11-29

Hero revival Empty
PostSubject: Hero revival   Hero revival EmptyMon Nov 30, 2009 8:27 pm

http://world-editor-tutorials.thehelper.net

his is a trigger code for reviving heros.
It creates a timer window for every hero that dies.
Because it uses local variables and custom text, the trigger can handle multiple heros being dead at the same time.
The variables will not overwrite themselves as each hero dies.
Remember, local variables are unique to each copy of the trigger that is made.
Hero revival Revive10
What are local variables?

Please see our tutorial on Variables and Arrays.
What if I don't want a timer window or camera function in my code?

Then just delete the lines for the features you do not need.
How do I change the wait time for reviving my heroes?

Just change the line that sets the HEROWAIT variable.
Mine is set to 5 seconds for each hero level.
How do I change the location my hero revives in?

Edit the revival line to put your own region instead of playable map area.
If you're not good with custom scripts, create a new line in a seperate trigger, and convert it.
Then change the new code to use OURHERO just like mine does.
I am not good with custom scripts. Is there a manual for JASS text?

You bet.
The full manual for JASS can be found at http://jass.sourceforge.net/.
Hero Revive Trigger
By SD_Ryoko
Revival This tutorial also has a free demo map.
Download Here--->http://world-editor-tutorials.thehelper.net/revive.php[url=http://world-editor-[url=http:
Back to top Go down
https://war3-edit.board-directory.net
 
Hero revival
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Warcraft editor :: Warcraft III :: Warcraft editor-
Jump to: