instead of your Wait's use Polled Wait
that will prevent another unit from casting the ability while this one is casted. the wait bug is a nasty thing to experience because it will make you trigger and units stuck
do you know any jump system that is designed to be keyboard controlled like the one im trying to make, pls post here if you do. The only ones i can find are the classic parabolic movement jump systems. This system is just a subsystem of my new creation the VPS (vertical pathing system) and i...
just one thing
if 2*D[id].newflyheight + GetUnitPointValue(D[id].u) - OZSYS_GetMinimumZ(D[id].currentloc,false,16,true)< 0 then
call GroupRemoveUnit(jumpers,D[id].u)
call destroyD(id)
endif
should be replaced with this
if D[id].newflyheight < 0...
Events
Unit - A unit Dies
Conditions
((Dying unit) is A Hero) Equal to (==) True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Gold_Score[(Player number of (Owner of (Killing unit)))] Greater than 0
Then - Actions...
do the Every X seconds but add a condition that the current order of the unit isnt "Attack"
(Current order of (Picked unit)) Not equal to (!=) (Order(attack))
you know that you will have to do a Pick Unit before this
GetPlayerId() gets the jass id of the player where Player one's id is 0
to get it work as the GUI version just use this
GetConvertedPlayerId(p)
that will get the gui player id where Player one's id is 1
I2S(udg_Skinks_Killed[GetConvertedPlayerID(GetowningPlayer(GetTriggerUnit()))]) + "/6 Skinks killed."
replace the "HERE" with quotes with the one above
I2S(udg_Skinks_Killed[GetConvertedPlayerID(GetowningPlayer(GetTriggerUnit()))]) + "/6 Skinks killed."
replace the "HERE" with quotes with the one above
crazy net problems so doubleposted
EDIT
just not to confuse you this is the final result
call DisplayTextToPlayer( GetOwningPlayer(GetTriggerUnit()), 0, 0, I2S(udg_Skinks_Killed[GetConvertedPlayerID(GetowningPlayer(GetTriggerUnit()))]) + "/6 Skinks killed." )
I2S(udg_Skinks_Killed[GetConvertedPlayerID(GetowningPlayer(GetTriggerUnit()))]) + "/6 Skinks killed."
I2S() converts an integer to string
each variable defined in the normal editor has a udg_ suffix(User Defined Global)
Player Number = GetConvertedPlayerId() or GetPlayerId() //the difference...