Page 1 of 1

Cannot get AllowWeaponTarget to work

Posted: 24 Dec 2011, 15:11
by Google_Frog
I am trying to use the relatively new gadget callin AllowWeaponTarget. I copied it from springcontent into the ZK gadget handler which I think I did successfully because I tested with Echo and it partially worked. I wrote a simple gadget to return false to all AllowWeaponTarget calls, this caused some units to not auto target (which is what I expected) but other units appeared unaffected. Has anyone else attempted to use this callin?

Re: Cannot get AllowWeaponTarget to work

Posted: 24 Dec 2011, 17:16
by FLOZi
Suspect you need Script.SetWatchWeapon on for the weapondef or something?

Re: Cannot get AllowWeaponTarget to work

Posted: 26 Dec 2011, 06:06
by Google_Frog
That had no effect.