script_runners.zh#

Variables#

const int

FFCS_INVISIBLE_COMBO

const int

FFCS_MIN_FFC deprecated

const int

FFCS_MAX_FFC deprecated

const int

MIN_NPCSCRIPT

const int

MAX_NPCSCRIPT

const int

MIN_LWEAPONSCRIPT

const int

MAX_LWEAPONSCRIPT

const int

MIN_EWEAPONSCRIPT

const int

MAX_EWEAPONSCRIPT

const int

MIN_ITEMSPRITESCRIPT

const int

MAX_ITEMSPRITESCRIPT

const int

MIN_GENERICSCRIPT

const int

MAX_GENERICSCRIPT

Functions#

int

CheckFFCScript(char32[] scriptname)

int

RunFFCScript(int scriptNum, untyped[] args = NULL)

ffc

RunFFCScriptOrQuit(int scriptNum, untyped[] args = NULL)

int

FindFFCRunning(int scriptNum)

int

FindNthFFCRunning(int scriptNum, int n)

int

CountFFCsRunning(int scriptNum)

int

CheckNPCScript(char32[] scriptname)

npc

RunNPCScript(int ID, int scriptNum, untyped[] args = NULL)

npc

RunNPCScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL)

int

CheckLWeaponScript(char32[] scriptname)

lweapon

RunLWeaponScript(int ID, int scriptNum, untyped[] args = NULL)

lweapon

RunLWeaponScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL)

int

CheckEWeaponScript(char32[] scriptname)

eweapon

RunEWeaponScript(int ID, int scriptNum, untyped[] args = NULL)

eweapon

RunEWeaponScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL)

int

CheckItemSpriteScript(char32[] scriptname)

itemsprite

RunItemSpriteScript(int ID, int scriptNum, untyped[] args = NULL)

itemsprite

RunItemSpriteScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL)

int

CheckGenericScript(char32[] scriptname)

genericdata

RunGenericScript(int scriptNum, untyped[] args = NULL)

genericdata

RunGenericScriptFrz(int scriptNum, untyped[] args = NULL)

Variable descriptions#

const int FFCS_INVISIBLE_COMBO = 1 🔗 Source

Combo to use for FFC scripts started by RunFFCScript(). This should be an invisible combo with no type or flag. It cannot be combo 0.


const int FFCS_MIN_FFC = 1 🔗 Source

Deprecated: Use MIN_FFC instead!


const int FFCS_MAX_FFC 🔗 Source

Deprecated: Use MAX_FFC instead!


const int MIN_NPCSCRIPT = 1 🔗 Source


const int MAX_NPCSCRIPT = 255 🔗 Source


const int MIN_LWEAPONSCRIPT = 1 🔗 Source


const int MAX_LWEAPONSCRIPT = 255 🔗 Source


const int MIN_EWEAPONSCRIPT = 1 🔗 Source


const int MAX_EWEAPONSCRIPT = 255 🔗 Source


const int MIN_ITEMSPRITESCRIPT = 1 🔗 Source


const int MAX_ITEMSPRITESCRIPT = 255 🔗 Source


const int MIN_GENERICSCRIPT = 1 🔗 Source


const int MAX_GENERICSCRIPT = 511 🔗 Source


Function descriptions#

int CheckFFCScript(char32[] scriptname) 🔗 Source


int RunFFCScript(int scriptNum, untyped[] args = NULL) 🔗 Source


ffc RunFFCScriptOrQuit(int scriptNum, untyped[] args = NULL) 🔗 Source


int FindFFCRunning(int scriptNum) 🔗 Source


int FindNthFFCRunning(int scriptNum, int n) 🔗 Source


int CountFFCsRunning(int scriptNum) 🔗 Source


int CheckNPCScript(char32[] scriptname) 🔗 Source


npc RunNPCScript(int ID, int scriptNum, untyped[] args = NULL) 🔗 Source


npc RunNPCScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL) 🔗 Source


int CheckLWeaponScript(char32[] scriptname) 🔗 Source


lweapon RunLWeaponScript(int ID, int scriptNum, untyped[] args = NULL) 🔗 Source


lweapon RunLWeaponScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL) 🔗 Source


int CheckEWeaponScript(char32[] scriptname) 🔗 Source


eweapon RunEWeaponScript(int ID, int scriptNum, untyped[] args = NULL) 🔗 Source


eweapon RunEWeaponScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL) 🔗 Source


int CheckItemSpriteScript(char32[] scriptname) 🔗 Source


itemsprite RunItemSpriteScript(int ID, int scriptNum, untyped[] args = NULL) 🔗 Source


itemsprite RunItemSpriteScriptAt(int ID, int scriptNum, int x, int y, untyped[] args = NULL) 🔗 Source


int CheckGenericScript(char32[] scriptname) 🔗 Source


genericdata RunGenericScript(int scriptNum, untyped[] args = NULL) 🔗 Source


genericdata RunGenericScriptFrz(int scriptNum, untyped[] args = NULL) 🔗 Source