nut.playerInteract
Base library for the player interaction menu library.
Hehehahahoo.
Functions
nut.playerInteract.addFunc (name, data)
nut.playerInteract.addFunc
Adds a new player interaction button to the interaction system.
Parameters:
string name Unique identifier for the interactiontable data Configuration table for the interaction
Usage:
nut.playerInteract.interact (entity, time)
nut.playerInteract.interact
Internal
This is used internally - although you're able to use it you probably shouldn't.
Initiates interaction with a player entity.
Parameters:
Entity entity The player entity to interact withnumber time Duration of the interaction animation