Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Making NPC's face a certain way


Recommended Posts


I have a custom plugin that requires to be rewritten. I want to be able to make NPC's face a certain way when they are spawned in. Here is the code. Sorry for the code, it is quite a mess. It basically spawns NPC's in a certain area and at the bottom of the code you will see they get spawned back once they are killed.

I am not a programmer myself but someone told me this might work: npc.SetAimDirection(...vector3...)

It would be nice if I could just do /npcwest or /npcnorth and it would change the face direction to that side.

It would be really great if someone would be able to do this for me!


Edited by 1ShotNokill
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

7,109 files sold to 634 customers and $103,022 of payments processed this year!

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.