Jump to content

Making NPC's face a certain way


1ShotNokill
 Share

Recommended Posts

Hello!

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!

SanctuaryAimTrain.cs

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
 Share

391.9k

Downloads

Total number of downloads.

2.1k

Customers

Total customers served.

28.3k

Files Sold

Total number of files sold.

441k

Payments Processed

Total payments processed.

×
×
  • 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.