Page 1 of 1

Auto turrets

Posted: Sun Oct 19, 2008 9:24 pm
by jasonbpurne46
Hi I want to know how do you get or make turrets aim and shoot at you?Can anyone please help me! :?

Re: Auto turrets

Posted: Sun Oct 19, 2008 11:26 pm
by n3cr0m33p5
Once you place the gun (turret) you can add in the command ' rotatePartToShip (part#, part#,...) ' in the AI-Lives button. Just make sure the gun (turret) you are creating is facing straight up for the command to work correctly. You can create a multi-part turret as well, and have the base part as the 'rotator' part, but still have to have all the parts facing upwards.

Re: Auto turrets

Posted: Tue Oct 21, 2008 1:58 pm
by NARFNra
Hey there. If you don't understand n3cr0m33p5 then here is an example from one of my ships.

Lets say your gun is part #10. Then, you would say:

rotatePartToShip,10

HOWEVER! You will end up with the gun pointing away from you unless the gun faces up. :o .This rule goes for all rotate to ships.

Re: Auto turrets

Posted: Tue Oct 21, 2008 8:10 pm
by jasonbpurne46
Thanks man it look very cool.thanks for the help! :D