Re: Turret and GT not shooting [message #469048 is a reply to message #469012] |
Mon, 11 June 2012 08:39 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to previous message](/theme/Renegade_Forums/images/down.png) |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma:
|
Recruit |
|
|
no difference
i tried another script
i tired to use m00_base_Defence and that one worked
but jfw_base_defence didnt :s
edit :
Found it
if (!Commands->Is_Object_Visible(WeaponObj, EnemyObj)) return false;
apparantly turret and gt cant really "see"
EDIT 2 :
my guns wont stop shooting anymore :s
they just keep firing against the wall until the target is totally out of range
WeaponObj->As_SmartGameObj()->Is_Obj_Visible(EnemyObj->As_PhysicalGameObj())
thats the check i use now (it works for the turret and gt)
Owner of kambot TT server
kambot.freeforums.org
[Updated on: Wed, 13 June 2012 09:41] Report message to a moderator
|
|
|