How do i make turrets target ememy buildings
Moderator: Moderators
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
How do i make turrets target ememy buildings
Title says it all.
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: How do i make turrets target ememy buildings
I havent tested it but I assume all you have to do is give them a health bar (make them a classlabel that allows it) and put them on the enemy team.
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: How do i make turrets target ememy buildings
Well I have a normal stock cis auto space turret (the ones you would see on a cis frigate) I want those turrets to shoot at a stock republic "minirepassaultship" (frigate)
The frigates class is destructablebuilding
And It has health
It is the normal stock frigate - nothing changed on it , and I want a Droid auto turret to fire on it
The frigates class is destructablebuilding
And It has health
It is the normal stock frigate - nothing changed on it , and I want a Droid auto turret to fire on it
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: How do i make turrets target ememy buildings
Is it the republic team number in zeroeditor?
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: How do i make turrets target ememy buildings
No, its team 2 (the cis) and the frigate is team 1, it shoots at enemy ships but when there are no ships around or I use the fake console to kill them all it doesn't target enemy frigates with in range of it.
-
MileHighGuy
- Jedi

- Posts: 1194
- Joined: Fri Dec 19, 2008 7:58 pm
Re: How do i make turrets target ememy buildings
make sure the weapon the turret is using has TargetBuilding = 1 in its odf
- Lorul1
- Rebel Colonel

- Posts: 562
- Joined: Wed Apr 24, 2013 10:34 pm
- Projects :: Assault on Theed
- xbox live or psn: No gamertag set
- Location: Your House
Re: How do i make turrets target ememy buildings
it works !!! Thanks mile high guy 
