ToME: the Tales of Maj'Eyal
http://forums.te4.org/

Initiate resting via command
http://forums.te4.org/viewtopic.php?f=24&t=44902
Page 1 of 1

Author:  Charidan [ Thu Sep 17, 2015 9:40 pm ]
Post subject:  Initiate resting via command

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().

Author:  HousePet [ Fri Sep 18, 2015 12:55 am ]
Post subject:  Re: Initiate resting via command

Why is this in the T2 modules forum?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/