Really strange bug that I can't find how to fix it; a unit ordered to cast cloud of fog on a target location seems to not be ordered (does nothing). I can't find what I changed that could cause this because this ability worked really well in the last one. Nothing really has been changed to the cloud abilities, and nothing has been changed with the dummy caster (which channel for us the ability). I can see the dummy beeing created, giving its ability, setting it to the right level, but even when it is ordered with IssuePointOrderByIdLoc, the unit does nothing (and it is not stoped because this :
if IssuePointOrderByIdLoc(caster,OrderId("cloudoffog"),Position)==true then
call BJDebugMsg("true")
else
call BJDebugMsg("false")
endif
returns false... Really strange; all spells works correctly and returns true, only cloudoffog returns false (4 cloud of fogs ability)... Is there something that I could have changed that could only affect cloud of fog? The order id in the spell is still cloudoffog.... When i order manually the dummy (clicking the spell) to cast it it creates a cloud, and writes me that the order is "cloudoffog", what I just did ordered. What could be wrong?
if IssuePointOrderByIdLoc(caster,OrderId("cloudoffog"),Position)==true then
call BJDebugMsg("true")
else
call BJDebugMsg("false")
endif
returns false... Really strange; all spells works correctly and returns true, only cloudoffog returns false (4 cloud of fogs ability)... Is there something that I could have changed that could only affect cloud of fog? The order id in the spell is still cloudoffog.... When i order manually the dummy (clicking the spell) to cast it it creates a cloud, and writes me that the order is "cloudoffog", what I just did ordered. What could be wrong?