I want my turret, tur_bldg_chaingun_tripod, to only shoot at enemies that are nearby.
I know basically how to do this for an AI, but how can I have this happen to turrets?
Turrets targeting only close enemies? [Solved]
Moderator: Moderators
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Turrets targeting only close enemies? [Solved]
Last edited by CressAlbane on Mon Jan 03, 2011 4:18 pm, edited 1 time in total.
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: Turrets targeting only close enemies?
Open up the weapon .odf file your turret uses and edit the same properties you normally would for normal AI. Unless it doesn't use a seperate weapon .odf in that case just add the same properties that change the range the AI shoot at from any other weapon .odf file and edit them accordingly.
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: Turrets targeting only close enemies?
Thanks, I just did that and it worked.
