I'm trying to have my mod force the player to rest as part of a larger action. What function do I call to initiate resting? The player has several rest-related functions, as does the PlayerRest class, but I can't find one that initiates the resting process.
EDIT: Nevermind, I finally opened the core PlayerRest instead of a modded version, and there is a function called restInit().
_________________
Currently developing the
Player AI addon. You can get it from the
T-Engine Addon Hub or
SteamYou can also
view the source code.