Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Having a turret-like object follow a player?

Asked by
Damo999 182
10 years ago

Hi i am not asking you to code for me or anything, but how would you go about making a turret that follows a players and when locked on it shoots and kills then i can probably figure out most of the script the only part i will have trouble with the making the turret follow me while rotating 360 degrees.

1 answer

Log in to vote
0
Answered by 10 years ago

-Have a player identified -Have it so that the player is constantly tracked (Treat yourself like you are an AI), instead of moving to your position, you would want the turret to rotate itself around its axis since you are basically it's target.

Ad

Answer this question