User Tools

Site Tools


hpl2:amnesia:script_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl2:amnesia:script_functions [2019/09/19 17:16]
mudbill Fixed InsanityEventIsActive
hpl2:amnesia:script_functions [2019/09/19 17:44] (current)
darkfire [Debugging]
Line 239: Line 239:
 </​code>​ </​code>​
  
-?+Prints an entry to the ProgLog.\\ 
 +ProgLog is a file created in Documents/​Amnesia/​main (or an FC folder if one is being used). It logs certain events, such us opening the menu or picking up the lantern, as well as the player'​s state (Health, Sanity, Oil, Tinderboxes,​ Coins), for the purpose of documenting a tester'​s playstyle.\\ 
 +\\ 
 +This function allows to log custom messages.The messages in the ProgLog file are sorted by time elapsed since a map was loaded.
  
-//asLevel //- can be "​Low",​ "​Medium"​ or "​High"​\\ +ProgLog has to be enabled for a player profile in ''​user_settings.cfg''​ before it starts working. 
-//asMessage //- ?+ 
 +//asLevel //- can be "​Low",​ "​Medium"​ or "​High"​. It's a tag which appears in each log entry, for event prioritising.\\ 
 +//asMessage //- The custom message to be printed to the log.
 <code c++> <code c++>
 bool ScriptDebugOn();​ bool ScriptDebugOn();​
hpl2/amnesia/script_functions.1568913371.txt.gz · Last modified: 2019/09/19 17:16 by mudbill