New Opcode Features:
- Opcode 280 will use Param1 as the surge roll if it is non-zero. NOTE: This mechanism uses (new) stat 300; this stat should not be set manually and should not be used by modders.
New Lua Functions:
- EEex_GetGlobal() - Fetches a variable from the GLOBAL scope
- EEex_GetActorLocal() - Fetches a variable from an actor's LOCALS scope
- EEex_GetAreaGlobal() - Fetches a variable from an area's scope
- EEex_2DALoad() - Reads a 2DA file's data into memory
- EEex_2DAGetAtStrings() - Reads a value at an x-y key pair from the given 2DA data
Changes:
- Opcode 401 now follows how vanilla opcodes set stats, with the Special value being the (new) stat to set.
See Opcode 6 for an example: https://gibberlings3.github.io/iesdp/opcodes/bgee.htm#op6
Fixes:
- B3_Invis.lua should not forbid the engine from rendering invisibility effects