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
hpl2:amnesia:script_functions [2020/03/10 22:48]
mudbill Started formatting things a bit more consistently.
hpl2:amnesia:script_functions [2020/04/12 13:01] (current)
mudbill
Line 261: Line 261:
 int GetLocalVarInt(string&​ asName); int GetLocalVarInt(string&​ asName);
 </​code>​ </​code>​
 +
 <code c++> <code c++>
 void SetLocalVarFloat(string&​ asName, float afVal); void SetLocalVarFloat(string&​ asName, float afVal);
Line 266: Line 267:
 float GetLocalVarFloat(string&​ asName); float GetLocalVarFloat(string&​ asName);
 </​code>​ </​code>​
 +
 <code c++> <code c++>
 void SetLocalVarString(string&​ asName, const string& asVal); void SetLocalVarString(string&​ asName, const string& asVal);
Line 281: Line 283:
 int GetGlobalVarInt(string&​ asName); int GetGlobalVarInt(string&​ asName);
 </​code>​ </​code>​
 +
 <code c++> <code c++>
 void SetGlobalVarFloat(string&​ asName, float afVal); void SetGlobalVarFloat(string&​ asName, float afVal);
Line 286: Line 289:
 float GetGlobalVarFloat(string&​ asName); float GetGlobalVarFloat(string&​ asName);
 </​code>​ </​code>​
 +
 <code c++> <code c++>
 void SetGlobalVarString(string&​ asName, const string& asVal); void SetGlobalVarString(string&​ asName, const string& asVal);
hpl2/amnesia/script_functions.txt ยท Last modified: 2020/04/12 13:01 by mudbill