Hook Manifest

Hook Name: wOS.CombatSim.SetGameType

Type: SERVER

Function: Called when the simulator is setting the gametype during the preparation phase. Return a new gametype name to change it.

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTQUEUEDATA, STRING_SIMULATIONNAME

Returns: STRING_NEW_SIMULATION_NAME

 

Hook Name: wOS.CombatSim.InitEntity

Type: SERVER

Function: Called when the simulator is creating custom entities for the gametype during the prepartion phase.

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTQUEUEDATA, STRING_SIMULATIONNAME

Returns: NOTHING

 

Hook Name: wOS.CombatSim.InitSettings

Type: SERVER

Function: Called when the simulator is applying custom settings for the gametype during the prepartion phase.

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTQUEUEDATA, STRING_SIMULATIONNAME

Returns: NOTHING

 

Hook Name: wOS.CombatSim.PreLoadSetup

Type: SERVER

Function: Called when the simulator is about to finalize gametype OnFinishSetup during the prepartion phase.

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTQUEUEDATA, STRING_SIMULATIONNAME

Returns: NOTHING

 

Hook Name: wOS.CombatSim.PostLoadSetup

Type: SERVER

Function: Called when the simulator has completed gametype OnFinishSetup during the prepartion phase.

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTQUEUEDATA, STRING_SIMULATIONNAME

Returns: NOTHING

 

Hook Name: wOS.CombatSim.PreGameTypeStart

Type: SERVER

Function: Called when the simulator is about to call the gametype's OnGameStart function

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTPLAYERS, TABLE_SIMULATIONDATA

Returns: NOTHING

 

Hook Name: wOS.CombatSim.PostGameTypeStart

Type: SERVER

Function: Called after the simulator called the gametype's OnGameStart function

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTPLAYERS, TABLE_SIMULATIONDATA

Returns: NOTHING

 

Hook Name: wOS.CombatSim.PreGameTypeEntity

Type: SERVER

Function: Called before the simulator has called the gametype custom entity's OnStart function

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTPLAYERS, TABLE_SIMULATIONDATA

Returns: NOTHING

 

Hook Name: wOS.CombatSim.PostGameTypeEntity

Type: SERVER

Function: Called after the simulator has called the gametype custom entity's OnStart function

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTPLAYERS, TABLE_SIMULATIONDATA

Returns: NOTHING

 

Hook Name: wOS.CombatSim.OnWallCreation

Type: SERVER

Function: Called after the simulator has created the barriers

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTPLAYERS, TABLE_SIMULATIONDATA, ENTITY_SIMBARRIER

Returns: NOTHING

 

Hook Name: wOS.CombatSim.OnStart

Type: SERVER

Function: Called after the simulator has completely started a simulation

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTPLAYERS, TABLE_SIMULATIONDATA

Returns: NOTHING

 

Hook Name: wOS.CombatSim.OnEnd

Type: SERVER

Function: Called when the simulator has completely ended the simulation. Includes if it was aborted and the reason. These arguments will be NIL if they were not set, so always do validation if you need them.

Arguments: ENTITY_SIMULATOR, TABLE_CURRENTPLAYERS, TABLE_SIMULATIONDATA, BOOL_ABORTFORCED, STRING_REASONFORABORT

Returns: NOTHING

  • 0 istifadəçi bunu faydalı hesab edir
Bu cavab sizə kömək etdi?

Uyğun məqalələr

Required Content

The only required content for this product is located over here:...