Approved NPC's Location?

Jakkee

Retired Staff
Retired Staff
Plugin Developer
Jul 28, 2014
1,465
932
113
Australia
Getting an NPC's location either as Vector or X, Y, Z would be handy as I was looking at spawning a loot bag when non rad animals were killed rather than doing Raycasting.
Could be used for other things such as finding the distance between the player and NPC (AntiCheat).
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,093
4,784
113
At your house.
github.com
Getting an NPC's location either as Vector or X, Y, Z would be handy as I was looking at spawning a loot bag when non rad animals were killed rather than doing Raycasting.
Could be used for other things such as finding the distance between the player and NPC (AntiCheat).
Put this on Github, I'm pretty sure Mike will do It.

For now: NPC.Character.transform.position
 
  • Informative
Reactions: Jakkee