.

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
if functions should be like this:
JASS:
if (something is true) then
    call dosomething
elseif (else is true)
    call dosomethingelse
endif


and you should do this to make them stop:
[ljass]call IssueImmediateOrderById(unit, 851972)[/ljass]
and if that doesnt work, change:
[ljass]GetOrderedUnit()[/ljass]
to
[ljass]GetTriggerUnit()[/ljass]
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
but if it is and and and, then it requires that all the unit has all order strings, which is impossible
you may be right though, never used ifs like that before, ill read up on it
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
nvm derp, assumptions made an ass out of me :p
thought you were using the different right click orders, move, attack, and smart

is the unit in range to auto-attack? because when the unit stops if it just immedately starts doing what it would be supposed to do next
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
order the targeted unit, i think that when the action is ordered it actually orders the loader to load the loadee rather than the loadee to load into the loader, if that made sence lol
 

Dirac

22710180
Reaction score
147
yes that made perfect sense.

I tried that but didn't work. Well, it almost didn't work. If the right click is done past a certain range, then the unit stops right when it reaches a position to load. When the right click is issued from there again, it loads the unit.
You can't go further this.
Do this: if a unit is loaded into a transport and a global boolean is equal to false, make the transport drop the unit, set this boolean to true when the ability is casted
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top