Jump to content

Custom NPC Trader animation?


Cryptdick

Recommended Posts

How do I go about forcing my custom vendor NPC to stay in that generic trader animation at a specific surface? I have the "NPCBarInvShopKeep" marker for the NPC to use, but while using the "DefaultSandboxExteriorEditorLocation" AI package the NPC will randomly choose a marker nearby instead of only going to the one. Besides that I want to be able to make NPCs sit in a specific chair until combat starts, for example. I've looked into IdleMarkers a little, but I've noticed that most vendor NPCs in the game use the marker I have placed. Also looking at vanilla merchant set-ups hasn't lead me to the answer. Any help is appreciated!

Edited by Cryptdick
Link to comment
Share on other sites

You could set the sandbox radius to a really small number*, send the NPC to the marker, then force it to EvaluatePackage. If the bar is the only sandbox target in radius, you should be set.

 

*My NPC walks ~70 units per second. So maybe radius 210?

Link to comment
Share on other sites

Will try this, but is this how the vanilla game does it? I'm interested in figuring out how they make it work in a simple matter. Either its part of the AI Packages for each trader in the game or there is something I'm missing, but there has to be a way to replicate the way they did in in vanilla.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...