Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Turret and GT not shooting
Re: Turret and GT not shooting [message #469048 is a reply to message #469012] Mon, 11 June 2012 08:39 Go to previous messageGo to previous message
robbyke is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New 3rd Party to host legacy DCOM Renegade content.
Next Topic: Tiberium Crystal War: Radio Commands ;)
Goto Forum:
  


Current Time: Mon Jul 15 16:00:40 MST 2024

Total time taken to generate the page: 0.00747 seconds