Dont have my wc3 editor on hand. in class atm.
here is what you gotta do
Ev
A unit dies
Cond
The type of unit that you want
Act
Set Boolean myUnitDead = true;
Ev
A unit is within x yards of Quest Giver
Cond
Unit == Hero
myUnitDead == true
Act
Hero give Xp to entering unit /...
Create a bunch of units when he uses spell with wander ability and region created with 500 area (trigger the bounds). Then "dummy" units with a special effect climbing down the Y axis (do this by changing unit property - fly height) in a for loop changing the position every .2 seconds...
Set LazerGrp = (Units within 100.00 of ((Position of (Casting unit)) offset by 100.00 towards (Facing of (Casting unit)) degrees))
I want to specify what types of units to grp within that radius
You would use integer strings. For example.
int count = 1
if(Unit enters, HP is <= 100,)
{
Research HP(count);
Leaves, Research HPreduction(count);
}
Most effective method is my method. No excess in data flow. The unit enters aura (which is not nearly as buggy as unit within range) Do...
Ok listen good to this approach...
U know that upgrade that increases HP, make it researchable for all units.
When a unit enters your aura, store it in an integer variable
integer lol = Max HP of unit getting buff * .1 (for 10 %)
Then you do this
For int A 1 to 10
If(integer lol <...
exactly what i tried... and failed. Its not picking up the facing angle.
This is what i had....
Create unit at target ability being cast facing facing angle of target
(unit never moves in angel mind you)
Unit group.... pick every unit in front of it, order last created unit to cast another...
Ive tried some things but I cant get this to work. How am I supposed to make chain lightning only zap in a straightish line... Like hits a unit... then zaps the guy behind him..
HeartStop
Events
Time - Every 5.00 seconds of game time
Conditions
Actions
Set ALLUNITS = (Units in (Playable map area))
Unit Group - Pick every unit in ALLUNITS and do (Actions)
Loop - Actions
If (All Conditions are True) then do...