HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problems with custom Raise Dead

03-20-2008, 04:24 PM#1
notsoexpert
EDIT: Problem 1 solved.
2.
Expand SmartWait:
Is there a better way to do a polled wait than this?
3.
Expand UnitAddStats:
This works GREAT except I don't know how to increase a unit's max health. Any suggestions?

Thanks in advance for any help.
03-20-2008, 05:30 PM#2
Anitarf
Why don't you just base your spell on the death Knight's ultimate, the use the "unit spawns a summoned unit" to detect when he casts it and replace the summoned units with your skeletons?
03-21-2008, 02:16 AM#3
notsoexpert
This must be my tenth edit. Here is the final version of the summon portion of the spell, credits to Anitarf for the idea.
Expand JASS:
Thanks for the help in that matter.

Now, I still can't figure out how to add to the max health of a unit. Any ideas on that?
03-21-2008, 07:58 AM#4
Spec
Quote:
Originally Posted by notsoexpert
Now, I still can't figure out how to add to the max health of a unit. Any ideas on that?

Use 'All1'-based ability (or one of 'All1'-variations).
03-21-2008, 02:49 PM#5
Anitarf
Check out the Warcraft III ability guide by PitzerMike. You will find your answer if you scroll down to the following chapter:

AId1, AItg, AIlf, AImb, AIsi, Aamk, AIsr, AIdd, AIas, AIms, Arel, AIrm, AIcs
03-21-2008, 04:14 PM#6
zen87
I think vex have a PolledWait2() somewhere in one of his system or spell... it uses a global ticking timer where no timer needs to be create/destroy during the polled wait period
03-21-2008, 06:39 PM#7
notsoexpert
I can't give the health bonus values a negative value because they are integers and not reals. Surely he tested this? I think I'm doing something wrong... the box for negative values is checked in my preferences...

@zen87: I'll look it up, thanks. :)

EDIT: I know how to read for a reason, SHIFT+CLICK to the rescue. Thanks Anitarf (and PitzerMike )
03-22-2008, 08:13 AM#8
Pyrogasm
If you're on a Mac, shift+click does not work, by-the-way.
03-22-2008, 08:49 AM#9
notsoexpert
No, no, I use a Piece of Crap (PC)... but, just out of curiosity, how do you input negative values on a Mac?
03-23-2008, 04:39 AM#10
Pyrogasm
You don't. You can only do it for reals.
03-23-2008, 09:09 AM#11
Gorman
so how do u make doodads go upside down? im so sad for u...
03-24-2008, 02:37 AM#12
Pyrogasm
You don't. Actually, you can do that with maximum pitch and roll (which is a real value).