Auto turrets

Scripting help, tricks, and tips. How to use the editor.
Post Reply
jasonbpurne46
Posts: 5
Joined: Sun Oct 19, 2008 8:44 pm

Auto turrets

Post by jasonbpurne46 »

Hi I want to know how do you get or make turrets aim and shoot at you?Can anyone please help me! :?
n3cr0m33p5
Posts: 18
Joined: Wed Jan 30, 2008 10:03 pm
Location: U S A

Re: Auto turrets

Post 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.
http://shaiya.aeriagames.com/
Always free to Play
User avatar
NARFNra
Posts: 82
Joined: Sun Aug 31, 2008 7:46 pm
Location: Laughing evilly as he manipulates the government on Zeta Flolan.
Contact:

Re: Auto turrets

Post 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.
I am of open mind and willing to hear criticism. Also: That's stupid and you're stupid. ~ 8Bit Theater

Ye who runs needlessly,
Thou art a fool,
Thou art a fool,
Thou art a fool,
Thou art a fool,
~La Mulana, Endless Corridor Tablet
jasonbpurne46
Posts: 5
Joined: Sun Oct 19, 2008 8:44 pm

Re: Auto turrets

Post by jasonbpurne46 »

Thanks man it look very cool.thanks for the help! :D
Post Reply