Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

SetStatLockState

Set Stat lock state.

Possible statState values: 0 - stat will increase, 1 - stat will decrease, 2 - stat locked. Possible statNum values: STR - 0, DEX - 1, INT - 2.

Pascal Syntax:

procedure SetStatLockState(statNum : Byte; statState : Byte);

const 
statUP=0, statDOWN=1, statLOCK=2.
statSTR=0, statDEX=1, statINT=2.

Python Syntax:

def SetStatState(statNum, statState):