ghost2_deprecated.zh#

Variables#

Functions#

void

Ghost_Init(ffc this, npc ghost, int flags)

npc

Ghost_InitCreate(ffc this, int enemyID, int flags)

npc

Ghost_InitWait(ffc this, int enemyIndex, bool useEnemyPos, int flags)

npc

Ghost_InitWait2(ffc this, int enemyID, bool useEnemyPos, int flags)

npc

Ghost_InitSpawn(ffc this, int enemyID, int flags)

npc

Ghost_InitAutoGhost(ffc this, int enemyID, int flags)

void

Ghost_SetFlags(int flags)

void

Ghost_WaitframeLight()

void

Ghost_WaitframesLight(int numFrames)

void

StartClock()

void

UpdateClock()

void

Ghost_Explode(ffc this, npc ghost)

void

SetEWeaponMovement(eweapon wpn, int type, int arg)

void

UpdateGhostZHData()

Variable descriptions#

const int EWM_SINE_WAVE_FAST = 2 🔗 Source

ghost.zh Version 2.8.15 The functions and constants in this file are provided only for backward compatibility. They should not be used in new scripts.


const int EWM_THROW_STOP = 16 🔗 Source


const int EWM_THROW_BOUNCE = 17 🔗 Source


const int EWM_THROW_BOUNCE_STOP = 18 🔗 Source


const int EWM_VEER_UP = 7 🔗 Source


const int EWM_VEER_DOWN = 8 🔗 Source


const int EWM_VEER_LEFT = 9 🔗 Source


const int EWM_VEER_RIGHT = 10 🔗 Source


const int EWM_VEER_LEFTUP = 11 🔗 Source


const int EWM_VEER_RIGHTUP = 12 🔗 Source


const int EWM_VEER_LEFTDOWN = 13 🔗 Source


const int EWM_VEER_RIGHTDOWN = 14 🔗 Source


const int EWM_DRIFT_UP = 20 🔗 Source


const int EWM_DRIFT_DOWN = 21 🔗 Source


const int EWM_DRIFT_LEFT = 22 🔗 Source


const int EWM_DRIFT_RIGHT = 23 🔗 Source


const int EWM_DRIFT_LEFTUP = 24 🔗 Source


const int EWM_DRIFT_RIGHTUP = 25 🔗 Source


const int EWM_DRIFT_LEFTDOWN = 26 🔗 Source


const int EWM_DRIFT_RIGHTDOWN = 27 🔗 Source


const int EWM_DRIFT_WAIT_UP = 28 🔗 Source


const int EWM_DRIFT_WAIT_DOWN = 29 🔗 Source


const int EWM_DRIFT_WAIT_LEFT = 30 🔗 Source


const int EWM_DRIFT_WAIT_RIGHT = 31 🔗 Source


const int EWM_DRIFT_WAIT_LEFTUP = 32 🔗 Source


const int EWM_DRIFT_WAIT_RIGHTUP = 33 🔗 Source


const int EWM_DRIFT_WAIT_LEFTDOWN = 34 🔗 Source


const int EWM_DRIFT_WAIT_RIGHTDOWN = 35 🔗 Source


Function descriptions#

void Ghost_Init(ffc this, npc ghost, int flags) 🔗 Source


npc Ghost_InitCreate(ffc this, int enemyID, int flags) 🔗 Source


npc Ghost_InitWait(ffc this, int enemyIndex, bool useEnemyPos, int flags) 🔗 Source


npc Ghost_InitWait2(ffc this, int enemyID, bool useEnemyPos, int flags) 🔗 Source


npc Ghost_InitSpawn(ffc this, int enemyID, int flags) 🔗 Source


npc Ghost_InitAutoGhost(ffc this, int enemyID, int flags) 🔗 Source


void Ghost_SetFlags(int flags) 🔗 Source


void Ghost_WaitframeLight() 🔗 Source


void Ghost_WaitframesLight(int numFrames) 🔗 Source


void StartClock() 🔗 Source


void UpdateClock() 🔗 Source


void Ghost_Explode(ffc this, npc ghost) 🔗 Source


void SetEWeaponMovement(eweapon wpn, int type, int arg) 🔗 Source


void UpdateGhostZHData() 🔗 Source