How Can I make the circle move?

Scripting help, tricks, and tips. How to use the editor.
Post Reply
Omega Destroyer
Posts: 5
Joined: Tue Oct 30, 2007 2:32 am

How Can I make the circle move?

Post by Omega Destroyer »

HI I am new Around here and this is my first forums. I played this game since yesterday and I was wondering how do you make the circle move when I put weapons on it. So it can follow the target. What do you enter. do you enter this for the AI: rotatePartcircle,part#,28,10,speed50,minAngle,maxAngle,startingAngle. Please I Need help!!! :?
MD
Site Admin
Posts: 195
Joined: Sun Aug 12, 2007 2:06 pm

Post by MD »

rotatePart, part#, speed, minAngle, maxAngle, startingAngle

Everything above needs to be replaced with actual values, for example:

rotatePart, 24, 50, 0, 0, 0

This would rotate part number 24 (part number is displayed when you put your mouse over a piece) at a speed of 50 (that's really really fast) with no restrictions on angles (the 0s)

If you want the part to always point towards the player ship, use this instead:
rotatePartToShip, 24

Have fun
~MD
Omega Destroyer
Posts: 5
Joined: Tue Oct 30, 2007 2:32 am

Thanks

Post by Omega Destroyer »

Thanks man I'll Try that. :D
Omega Destroyer
Posts: 5
Joined: Tue Oct 30, 2007 2:32 am

Great it Works put one thing

Post by Omega Destroyer »

Yeah it's me again. I played it and it works :). but In steed of following my ship it target the other way and is not targeting my ship. when I try to move around it just shoot the other ways I wounder why is that.I need your help again. and thanks for your other help question.
MD
Site Admin
Posts: 195
Joined: Sun Aug 12, 2007 2:06 pm

Post by MD »

Just rotate the piece around in the editor.
Omega Destroyer
Posts: 5
Joined: Tue Oct 30, 2007 2:32 am

Post by Omega Destroyer »

Thanks man Now I can play and have fun. And it work wonderfully and is all thanks to you. Your the best.
thanks again. :D
Post Reply