Why wont this work (Ignore Leaks)
Spell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Blank
Actions
Set TmpGroup = (Units within 1000.00 of TmpPoint matching (((Matching unit) belongs to an enemy of...
The triggers Function is like if player red picks an item i destroy the picked item and create a new on the same spot
however i can make it work :P
Item Check
Events
Unit - A unit Acquires an item
Conditions
Actions
If (All Conditions are True) then do (Then...
Example:I want a unit to have 15-23 dmg how do change this
First i have to set Units base dmg to 15 right?
and then i dont know how to make the rest
plz help
1: how do i make a trigger like this
If a unit Enters a Region
and Entering Unit has an item in inventroy eqaul to Mask of death
and if that is true
then another things happens
I have been looking in We and tried to figure it out but i cant. Do i have to use Item-type (array)...
Patrol
Events
Unit - A unit enters SpawnPool <gen>
Conditions
(Owner of (Triggering unit)) Equal to HostileNaga
Actions
Set NagaGroup = (Units in SpawnPool <gen> owned by HostileNaga)
Unit Group - Pick every unit in NagaGroup and do (Unit Group...
I have a trigger that spawns 1 units every 1 second
the thing i want to do next is when the spawned unit enters "spawn Region"
i want it to patrol to a random unit in the game i dont know how to do this
Plz help +rep
can an Integer be negative
example: Lets say i have an intger and its value is 0 and then if a trigger fires and it will set Intger= (intger-1) will the value still be 0 or -1?
How do i add values to an Integer
Example: Time - Every 1.00 seconds of game time
Conditions
Set Integer = 1
how can i make it like this?
every second i want it to add 1 to Integer so after 10 seconds the integer will be 10 so how can i do this?
plz help
So this is what im trying to do
A unit attack another unit (ranged) if the distance between the attacking unit and attacked unit is 900 or less i want the attacking unit have about 30% chance to miss an attack. And if the range 901-1800 i want it to have 50% chance 2 miss so any ideas how i...