ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Mon Oct 23, 2017 3:16 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Sep 17, 2015 9:40 pm 
Offline
Higher

Joined: Wed Jul 22, 2015 8:12 pm
Posts: 56
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 Steam
You can also view the source code.


Top
 Profile  
 
PostPosted: Fri Sep 18, 2015 12:55 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5507
Why is this in the T2 modules forum?

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group