Questions About Customizing NPC Dancers

The dancing NPC plugin is great! I do have the following questions:
!. I'd like to know if/how I can remove one after I've spawned it. (never mind this one, I found out that I just have to kill them)
2. Is it possible to modify one after spawning? i.e. change dance moves/gear sets
3. Can you change or control the playerseed on the NPC?
4. Can you change which direction they face? It seems that they always are facing in the same direction no matter how I'm facing when I spawn them.

Thanks and I really appreciate the work you're doing!
 
Last edited:
2. Is it possible to modify one after spawning? i.e. change dance moves/gear sets
Yes, just run the /dance command on the npc again with a new gesture, and it'll update both the gesture and the direction they're facing

3. Can you change or control the playerseed on the NPC?
I don't think that's possible. It just plays the gesture animation as-is, and the player seed is random

4. Can you change which direction they face? It seems that they always are facing in the same direction no matter how I'm facing when I spawn them.
They should face you when spawned. If that's not happening, I'll look into it, it might be a bug
 
Yes, just run the /dance command on the npc again with a new gesture, and it'll update both the gesture and the direction they're facing
I don't think that's possible. It just plays the gesture animation as-is, and the player seed is random
They should face you when spawned. If that's not happening, I'll look into it, it might be a bug
Thank you for the quick responses! They do not face me when spawned, they seem to spawn where I'm standing and sort-of "bump" me out of the way. I can spawn ten of them while I'm facing in all different directions, but they all seem to face the same way no matter what. I did discover the "NPC rotator" plugin, so I tried that and it worked fine, I can make them turn a different direction after spawning. I appreciate your work!
 
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart