functions...

Somatic

You can change this now in User CP.
Reaction score
84
I have a question.

Does Function neccessary means only used to check for condition?
I need a Function in a trigger which continusly Report to me the location of a unit. but i cant get it done. Can someone show me an example of a non-condition Function where i can get it to return me a location. And it has to be looped throught out of the trigger till the trigger hits its break points. Thanks
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
Well, make a periodic trigger (you know, every x seconds) for the event in GUI then convert it. Then for the "actions" portion, just use:
JASS:
local location l = GetUnitLoc(<UNIT>)


If you need it for a global, just do this:
JASS:
set udg_Loc = GetUnitLoc(<UNIT>)


Hopefully you understand this. :D

Then just use l/udg_Loc for the location. ;)
 
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