Reference Globals Variables - saintfrater/LSL1FR GitHub Wiki
Variables
Variables ID < 200 are more or less globals, variable ID > 200 are more local variables.
Generics (common) AGI VariablesID
Variable | VariableID |
---|---|
currentRoom | v0 |
previousRoom | v1 |
edgeEgoHit | v2 |
currentScore | v3 |
objHitEdge | v4 |
edgeObjHit | v5 |
egoDir | v6 |
maxScore | v7 |
memoryLeft | v8 |
unknownWord | v9 |
animationInterval | v10 |
elapsedSeconds | v11 |
elapsedMinutes | v12 |
elapsedHours | v13 |
elapsedDays | v14 |
dblClickDelay | v15 |
currentEgoView | v16 |
errorNumber | v17 |
errorParameter | v18 |
lastChar | v19 |
machineType | v20 |
printTimeout | v21 |
numberOfVoices | v22 |
attenuation | v23 |
inputLength | v24 |
selectedItem | v25 |
monitorType | v26 |
Global Game variables
Variable | VariableID | Descr |
---|---|---|
varTimeLastElapsedSeconds | v43 | |
varGameControlDebug | v51 | Is the game is in debug mode ? |
varTitlePageStep | v65 | Title Page - current step in the title |
varTimingDelay | v67 | Wait Timer |
varObjBreathSprayUsage | v70 | memorize how much the breath spray was used |
varEgoSize | v86 | |
varInGameMoney | v90 | How much money Larry do own |
varQuestionnaireStateMachine | v95 | Age Questionnaire state machine |
varPlayerAge | v209 | Memorize the given player's age |
varGameTimeHour | v119 | in game Time (hour) |
varGameTimeMinute | v116 | in Game Time (Minutes) |
varGameTimeSecond | v115 | in Game Time (seconds) |
For timing and timers see Reference - Timing-and-Timers
Questionnaire State Machine
- 1: ask question
- 2: pick question
- 3: questionnaire completed
- 4:
- 5: right answer - move on