Jump to content

Recommended Posts

Posted (edited)

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

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
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.8k

Files Sold

Total number of files sold.

2.1m

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.