GetAttackedUnit?

lh2705

Just another Helper
Reaction score
111
Okay.. So I need to know which code to use instead of GetAttackedUnitBJ()
Since I don't want to use the BJs.

I looked through an there wasn't any GetAttackedUnit :eek:
 

averes

New Member
Reaction score
17
GetTriggerUnit()

Also: If your using NewGen atleast when you look at a BJ function on the function list it should say what to use right below the in the description. :)
 

Darthfett

Aerospace/Cybersecurity Software Engineer
Reaction score
615
Not all BJs are bad.

Download JASSCraft, and lookup the functions. If they just return something, or reorder the arguments, then don't use the BJ. If they do something complicated, like Distance, Angle, etc, it'd be a good idea to use it. If it's sort of simple, it's your choice to use it.

GetAttackedUnitBJ() just returns GetTriggerUnit(), so use that instead.
 
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