‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
callbacks_shared.gsc File Reference

Go to the source code of this file.

Macros

#define N_DECORATION_COUNT   12
 

Functions

function abort_level ()
 
function add_callback (event, func, obj)
 
function add_weapon_damage (weapontype, callback)
 
function add_weapon_watcher (callback)
 
function callback (event, params)
 
function callback_void ()
 
function callback_weapon_damage (eAttacker, eInflictor, weapon, meansOfDeath, damage)
 
function callback_weapon_watcher ()
 
function CodeCallback_ActorCloned (original)
 
function CodeCallback_ActorDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, timeOffset, boneIndex, modelIndex, surfaceType, surfaceNormal)
 
function CodeCallback_ActorKilled (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, timeOffset)
 
function CodeCallback_ActorSpawned (spawner)
 
function CodeCallback_BotEnteredUserEdge (startNode, endNode)
 
function CodeCallback_CallServerScript (pSelf, label, param)
 
function CodeCallback_CallServerScriptOnLevel (label, param)
 
function CodeCallback_Decoration (name)
 
function CodeCallback_FaceEventNotify (notify_msg, ent)
 
function CodeCallback_FadeBlackscreen (duration, blendTime)
 
function CodeCallback_FinalizeInitialization ()
 
function CodeCallback_GlassSmash (pos, dir)
 
function CodeCallback_HostMigration ()
 
function CodeCallback_HostMigrationSave ()
 
function CodeCallback_LaunchSideMission (str_mapname, str_gametype, int_list_index, int_lighting)
 
function CodeCallback_MenuResponse (action, arg)
 
function CodeCallback_Migration_SetupGameType ()
 
function CodeCallback_PlayCustomTraversal (entity, beginParent, endParent, origin, angles, animHandle, animMode, playbackSpeed, goalTime, lerpTime)
 
function CodeCallback_PlayerConnect ()
 
function CodeCallback_PlayerDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, timeOffset, boneIndex, vSurfaceNormal)
 
function CodeCallback_PlayerDisconnect ()
 
function CodeCallback_PlayerKilled (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
 
function CodeCallback_PlayerLastStand (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, timeOffset, delayOverride)
 
function CodeCallback_PlayerMelee (eAttacker, iDamage, weapon, vOrigin, vDir, boneIndex, shieldHit, fromBehind)
 
function CodeCallback_PlayerMigrated ()
 
function CodeCallback_PreHostMigrationSave ()
 
function CodeCallback_PreInitialization ()
 
function CodeCallback_SetActiveCybercomAbility (new_ability)
 
function CodeCallback_StartGameType ()
 
function CodeCallback_VehicleDamage (eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, weapon, vPoint, vDir, sHitLoc, vDamageOrigin, timeOffset, damageFromUnderneath, modelIndex, partName, vSurfaceNormal)
 
function codecallback_vehiclekilled (eInflictor, eAttacker, iDamage, sMeansOfDeath, weapon, vDir, sHitLoc, psOffsetTime)
 
function CodeCallback_VehicleRadiusDamage (eInflictor, eAttacker, iDamage, fInnerDamage, fOuterDamage, iDFlags, sMeansOfDeath, weapon, vPoint, fRadius, fConeAngleCos, vConeDir, timeOffset)
 
function CodeCallback_VehicleSpawned (spawner)
 
function finishCustomTraversalListener ()
 
function killedCustomTraversalListener ()
 
function menu_response_queue_pump ()
 
function on_actor_damage (func, obj)
 
function on_actor_killed (func, obj)
 
function on_ai_damage (func, obj)
 
function on_ai_killed (func, obj)
 
function on_ai_spawned (func, obj)
 
function on_challenge_complete (func, obj)
 
function on_connect (func, obj)
 
function on_connecting (func, obj)
 
function on_disconnect (func, obj)
 
function on_finalize_initialization (func, obj)
 
function on_joined_spectate (func, obj)
 
function on_joined_team (func, obj)
 
function on_laststand (func, obj)
 
function on_loadout (func, obj)
 
function on_player_damage (func, obj)
 
function on_player_killed (func, obj)
 
function on_spawned (func, obj)
 
function on_start_gametype (func, obj)
 
function on_vehicle_damage (func, obj)
 
function on_vehicle_killed (func, obj)
 
function on_vehicle_spawned (func, obj)
 
function remove_callback (event, func, obj)
 
function remove_callback_on_death (event, func)
 
function remove_on_actor_damage (func, obj)
 
function remove_on_actor_killed (func, obj)
 
function remove_on_ai_damage (func, obj)
 
function remove_on_ai_killed (func, obj)
 
function remove_on_ai_spawned (func, obj)
 
function remove_on_connect (func, obj)
 
function remove_on_connecting (func, obj)
 
function remove_on_disconnect (func, obj)
 
function remove_on_loadout (func, obj)
 
function remove_on_player_damage (func, obj)
 
function remove_on_player_killed (func, obj)
 
function remove_on_spawned (func, obj)
 
function remove_on_vehicle_damage (func, obj)
 
function remove_on_vehicle_killed (func, obj)
 
function remove_on_vehicle_spawned (func, obj)
 

Macro Definition Documentation

◆ N_DECORATION_COUNT

#define N_DECORATION_COUNT   12

Definition at line 1062 of file callbacks_shared.gsc.

Function Documentation

◆ abort_level()

◆ add_callback()

◆ add_weapon_damage()

function add_weapon_damage ( weapontype  ,
callback   
)

Definition at line 580 of file callbacks_shared.gsc.

References callback().

Referenced by init(), and init_shared().

◆ add_weapon_watcher()

function add_weapon_watcher ( callback  )

Definition at line 609 of file callbacks_shared.gsc.

References add(), and callback().

Referenced by __init__(), and init_shared().

◆ callback()

◆ callback_void()

function callback_void ( )

Definition at line 1090 of file callbacks_shared.gsc.

Referenced by abort_level().

◆ callback_weapon_damage()

function callback_weapon_damage ( eAttacker  ,
eInflictor  ,
weapon  ,
meansOfDeath  ,
damage   
)

Definition at line 590 of file callbacks_shared.gsc.

References damage().

Referenced by set_default_callbacks().

◆ callback_weapon_watcher()

function callback_weapon_watcher ( )

Definition at line 619 of file callbacks_shared.gsc.

Referenced by on_player_spawned().

◆ CodeCallback_ActorCloned()

function CodeCallback_ActorCloned ( original  )

Definition at line 805 of file callbacks_shared.gsc.

◆ CodeCallback_ActorDamage()

function CodeCallback_ActorDamage ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
timeOffset  ,
boneIndex  ,
modelIndex  ,
surfaceType  ,
surfaceNormal   
)

Definition at line 787 of file callbacks_shared.gsc.

◆ CodeCallback_ActorKilled()

function CodeCallback_ActorKilled ( eInflictor  ,
eAttacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
timeOffset   
)

Definition at line 796 of file callbacks_shared.gsc.

◆ CodeCallback_ActorSpawned()

function CodeCallback_ActorSpawned ( spawner  )

Definition at line 777 of file callbacks_shared.gsc.

◆ CodeCallback_BotEnteredUserEdge()

function CodeCallback_BotEnteredUserEdge ( startNode  ,
endNode   
)

Definition at line 1052 of file callbacks_shared.gsc.

◆ CodeCallback_CallServerScript()

function CodeCallback_CallServerScript ( pSelf  ,
label  ,
param   
)

Definition at line 961 of file callbacks_shared.gsc.

◆ CodeCallback_CallServerScriptOnLevel()

function CodeCallback_CallServerScriptOnLevel ( label  ,
param   
)

Definition at line 972 of file callbacks_shared.gsc.

◆ CodeCallback_Decoration()

function CodeCallback_Decoration ( name  )

Definition at line 1063 of file callbacks_shared.gsc.

References N_DECORATION_COUNT.

◆ CodeCallback_FaceEventNotify()

function CodeCallback_FaceEventNotify ( notify_msg  ,
ent   
)

Definition at line 909 of file callbacks_shared.gsc.

◆ CodeCallback_FadeBlackscreen()

function CodeCallback_FadeBlackscreen ( duration  ,
blendTime   
)

Definition at line 999 of file callbacks_shared.gsc.

References fade_to_black_for_x_sec().

◆ CodeCallback_FinalizeInitialization()

function CodeCallback_FinalizeInitialization ( )

Definition at line 574 of file callbacks_shared.gsc.

References callback(), and run_post_systems().

◆ CodeCallback_GlassSmash()

function CodeCallback_GlassSmash ( pos  ,
dir   
)

Definition at line 1044 of file callbacks_shared.gsc.

◆ CodeCallback_HostMigration()

function CodeCallback_HostMigration ( )

Definition at line 699 of file callbacks_shared.gsc.

◆ CodeCallback_HostMigrationSave()

function CodeCallback_HostMigrationSave ( )

Definition at line 709 of file callbacks_shared.gsc.

◆ CodeCallback_LaunchSideMission()

function CodeCallback_LaunchSideMission ( str_mapname  ,
str_gametype  ,
int_list_index  ,
int_lighting   
)

Definition at line 986 of file callbacks_shared.gsc.

◆ CodeCallback_MenuResponse()

function CodeCallback_MenuResponse ( action  ,
arg   
)

Definition at line 923 of file callbacks_shared.gsc.

References menu_response_queue_pump().

◆ CodeCallback_Migration_SetupGameType()

function CodeCallback_Migration_SetupGameType ( )

Definition at line 690 of file callbacks_shared.gsc.

References Migration_SetupGameType().

◆ CodeCallback_PlayCustomTraversal()

function CodeCallback_PlayCustomTraversal ( entity  ,
beginParent  ,
endParent  ,
origin  ,
angles  ,
animHandle  ,
animMode  ,
playbackSpeed  ,
goalTime  ,
lerpTime   
)

◆ CodeCallback_PlayerConnect()

function CodeCallback_PlayerConnect ( )

Definition at line 662 of file callbacks_shared.gsc.

◆ CodeCallback_PlayerDamage()

function CodeCallback_PlayerDamage ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
timeOffset  ,
boneIndex  ,
vSurfaceNormal   
)

Definition at line 736 of file callbacks_shared.gsc.

◆ CodeCallback_PlayerDisconnect()

function CodeCallback_PlayerDisconnect ( )

Definition at line 674 of file callbacks_shared.gsc.

References callback().

◆ CodeCallback_PlayerKilled()

function CodeCallback_PlayerKilled ( eInflictor  ,
eAttacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
timeOffset  ,
deathAnimDuration   
)

Definition at line 746 of file callbacks_shared.gsc.

◆ CodeCallback_PlayerLastStand()

function CodeCallback_PlayerLastStand ( eInflictor  ,
eAttacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
timeOffset  ,
delayOverride   
)

Definition at line 756 of file callbacks_shared.gsc.

◆ CodeCallback_PlayerMelee()

function CodeCallback_PlayerMelee ( eAttacker  ,
iDamage  ,
weapon  ,
vOrigin  ,
vDir  ,
boneIndex  ,
shieldHit  ,
fromBehind   
)

Definition at line 766 of file callbacks_shared.gsc.

◆ CodeCallback_PlayerMigrated()

function CodeCallback_PlayerMigrated ( )

Definition at line 725 of file callbacks_shared.gsc.

◆ CodeCallback_PreHostMigrationSave()

function CodeCallback_PreHostMigrationSave ( )

Definition at line 715 of file callbacks_shared.gsc.

◆ CodeCallback_PreInitialization()

function CodeCallback_PreInitialization ( )

Definition at line 565 of file callbacks_shared.gsc.

References callback(), and run_pre_systems().

◆ CodeCallback_SetActiveCybercomAbility()

function CodeCallback_SetActiveCybercomAbility ( new_ability  )

Definition at line 1010 of file callbacks_shared.gsc.

◆ CodeCallback_StartGameType()

function CodeCallback_StartGameType ( )

Definition at line 637 of file callbacks_shared.gsc.

◆ CodeCallback_VehicleDamage()

function CodeCallback_VehicleDamage ( eInflictor  ,
eAttacker  ,
iDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
vDir  ,
sHitLoc  ,
vDamageOrigin  ,
timeOffset  ,
damageFromUnderneath  ,
modelIndex  ,
partName  ,
vSurfaceNormal   
)

Definition at line 835 of file callbacks_shared.gsc.

◆ codecallback_vehiclekilled()

function codecallback_vehiclekilled ( eInflictor  ,
eAttacker  ,
iDamage  ,
sMeansOfDeath  ,
weapon  ,
vDir  ,
sHitLoc  ,
psOffsetTime   
)

Definition at line 825 of file callbacks_shared.gsc.

◆ CodeCallback_VehicleRadiusDamage()

function CodeCallback_VehicleRadiusDamage ( eInflictor  ,
eAttacker  ,
iDamage  ,
fInnerDamage  ,
fOuterDamage  ,
iDFlags  ,
sMeansOfDeath  ,
weapon  ,
vPoint  ,
fRadius  ,
fConeAngleCos  ,
vConeDir  ,
timeOffset   
)

Definition at line 845 of file callbacks_shared.gsc.

◆ CodeCallback_VehicleSpawned()

function CodeCallback_VehicleSpawned ( spawner  )

Definition at line 814 of file callbacks_shared.gsc.

◆ finishCustomTraversalListener()

function finishCustomTraversalListener ( )

Definition at line 850 of file callbacks_shared.gsc.

Referenced by CodeCallback_PlayCustomTraversal().

◆ killedCustomTraversalListener()

function killedCustomTraversalListener ( )

Definition at line 867 of file callbacks_shared.gsc.

Referenced by CodeCallback_PlayCustomTraversal().

◆ menu_response_queue_pump()

function menu_response_queue_pump ( )

Definition at line 940 of file callbacks_shared.gsc.

References WAIT_SERVER_FRAME.

Referenced by CodeCallback_MenuResponse().

◆ on_actor_damage()

function on_actor_damage ( func  ,
obj   
)

Description:
"Function Name: on_actor_damage(<func>)" "Module: Callbacks"
"Summary: Set a callback for when an actor takes damage"
"Mandatory Argument(s): <func> the function you want to call when an actor takes damage."
"Example:callback::on_actor_damage(&on_actor_damage);"

Definition at line 488 of file callbacks_shared.gsc.

References add_callback().

Referenced by main().

◆ on_actor_killed()

function on_actor_killed ( func  ,
obj   
)

Description:
"Function Name: on_actor_killed(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a actor dies"
"Mandatory Argument(s): <func> the function you want to call when a actor dies."
"Example:callback::on_actor_killed(&on_actor_killed);"

Definition at line 357 of file callbacks_shared.gsc.

References add_callback().

Referenced by __init__(), and main().

◆ on_ai_damage()

function on_ai_damage ( func  ,
obj   
)

Description:
"Function Name: on_ai_damage(<func>)" "Module: Callbacks"
"Summary: Set a callback for when an ai takes damage"
"Mandatory Argument(s): <func> the function you want to call when an ai takes damage."
"Example:callback::on_ai_damage(&on_ai_damage);"

Definition at line 435 of file callbacks_shared.gsc.

References add_callback().

◆ on_ai_killed()

function on_ai_killed ( func  ,
obj   
)

Description:
"Function Name: on_ai_killed(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a ai dies"
"Mandatory Argument(s): <func> the function you want to call when a ai dies."
"Example:callback::on_ai_killed(&on_ai_killed);"

Definition at line 331 of file callbacks_shared.gsc.

References add_callback().

◆ on_ai_spawned()

function on_ai_spawned ( func  ,
obj   
)

Description:
"Function Name: on_ai_spawned(<func>)" "Module: Callbacks"
"Summary: Set a callback for when an ai spawns"
"Mandatory Argument(s): <func> the function you want to call when an ai spawns."
"Example:callback::on_ai_spawned(&on_ai_spawned);"

Definition at line 461 of file callbacks_shared.gsc.

References add_callback().

◆ on_challenge_complete()

function on_challenge_complete ( func  ,
obj   
)

Description:
"Function Name: on_challenge_complete(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a challenge is completed"
"Mandatory Argument(s): <func> the function you want to call when a player completes a challenge."
"Example:callback::on_challenge_complete(&on_challenge_complete);"
"Single Player / Multi Player: singleplayer"

Definition at line 557 of file callbacks_shared.gsc.

References add_callback().

◆ on_connect()

function on_connect ( func  ,
obj   
)

Description:
"Function Name: on_connect(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player connects"
"Mandatory Argument(s): <func> the function you want to call on the new player."
"Example:callback::on_connect(&on_player_connect);"
"Single Player / Multi Player: singleplayer"

Definition at line 122 of file callbacks_shared.gsc.

References add_callback().

◆ on_connecting()

function on_connecting ( func  ,
obj   
)

Description:
"Function Name: on_connecting(<func>)"
"Summary: Set a callback for when a player is connecting"
"Mandatory Argument(s): <func> the function you want to call on the new player."
"Example:callback::on_connecting(&on_player_connect);"

Definition at line 146 of file callbacks_shared.gsc.

References add_callback().

Referenced by __init__(), init(), and main().

◆ on_disconnect()

function on_disconnect ( func  ,
obj   
)

Definition at line 164 of file callbacks_shared.gsc.

References add_callback().

◆ on_finalize_initialization()

function on_finalize_initialization ( func  ,
obj   
)

Definition at line 108 of file callbacks_shared.gsc.

References add_callback().

◆ on_joined_spectate()

function on_joined_spectate ( func  ,
obj   
)

Description:
"Function Name: on_joined_spectate(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player joins spectate"
"Mandatory Argument(s): <func> the function you want to call on the player joining a team."
"Example:callback::on_joined_spectate( &init );"

Definition at line 290 of file callbacks_shared.gsc.

References add_callback().

Referenced by __init__(), init(), and on_player_connect().

◆ on_joined_team()

function on_joined_team ( func  ,
obj   
)

Description:
"Function Name: on_joined_team(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player joins a team"
"Mandatory Argument(s): <func> the function you want to call on the player joining a team."
"Example:callback::on_joined_team( &init );"

Definition at line 277 of file callbacks_shared.gsc.

References add_callback().

◆ on_laststand()

function on_laststand ( func  ,
obj   
)

Description:
"Function Name: on_laststand(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player goes into last stand"
"Mandatory Argument(s): <func> the function you want to call when a player goes into last stand."
"Example:callback::on_laststand(&on_last_stand);"
"Single Player / Multi Player: singleplayer"

Definition at line 543 of file callbacks_shared.gsc.

References add_callback().

Referenced by __init__(), and init_player_threat_all().

◆ on_loadout()

function on_loadout ( func  ,
obj   
)

Description:
"Function Name: on_loadout( <func> )"
"Summary: Set a callback for when a player gets their loadout set"
"Mandatory Argument(s): <func> the function you want to call when a player gets their loadout set."
"Example:callback::on_loadout( &on_loadout );"

Definition at line 213 of file callbacks_shared.gsc.

References add_callback().

Referenced by _play_camera_anims(), and cSceneObject::_play_shared_player_anim().

◆ on_player_damage()

function on_player_damage ( func  ,
obj   
)

Description:
"Function Name: on_player_damage(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player get damaged"
"Mandatory Argument(s): <func> the function you want to call on the damaged player."
"Example:callback::on_player_damage(&on_player_damage);"

Definition at line 238 of file callbacks_shared.gsc.

References add_callback().

◆ on_player_killed()

function on_player_killed ( func  ,
obj   
)

Description:
"Function Name: on_player_killed(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player dies"
"Mandatory Argument(s): <func> the function you want to call when a player dies."
"Example:callback::on_player_killed(&on_player_killed);"
"Single Player / Multi Player: singleplayer"

Definition at line 304 of file callbacks_shared.gsc.

References add_callback().

◆ on_spawned()

function on_spawned ( func  ,
obj   
)

Description:
"Function Name: on_spawned( <func> )"
"Summary: Set a callback for when a player spawns"
"Mandatory Argument(s): <func> the function you want to call on the new player."
"Example:callback::on_connect( &on_player_spawned );"

Definition at line 189 of file callbacks_shared.gsc.

References add_callback().

◆ on_start_gametype()

function on_start_gametype ( func  ,
obj   
)

Description:
"Function Name: on_start_gametype(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player starts a gametype"
"Mandatory Argument(s): <func> the function you want to call on the player."
"Example:callback::on_start_gametype( &init );"

Definition at line 264 of file callbacks_shared.gsc.

References add_callback().

◆ on_vehicle_damage()

function on_vehicle_damage ( func  ,
obj   
)

Description:
"Function Name: on_vehicle_damage(<func>)" "Module: Callbacks"
"Summary: Set a callback for when an vehicle takes damage"
"Mandatory Argument(s): <func> the function you want to call when an vehicle takes damage."
"Example:callback::on_vehicle_damage(&on_vehicle_damage);"
"Single Player / Multi Player: singleplayer"

Definition at line 516 of file callbacks_shared.gsc.

References add_callback().

Referenced by main().

◆ on_vehicle_killed()

function on_vehicle_killed ( func  ,
obj   
)

Description:
"Function Name: on_vehicle_killed(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a vehicle dies"
"Mandatory Argument(s): <func> the function you want to call when a vehicle dies."
"Example:callback::on_vehicle_killed(&on_vehicle_killed);"

Definition at line 409 of file callbacks_shared.gsc.

References add_callback().

Referenced by main().

◆ on_vehicle_spawned()

function on_vehicle_spawned ( func  ,
obj   
)

Description:
"Function Name: on_vehicle_spawned(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a vehicle spawns"
"Mandatory Argument(s): <func> the function you want to call when a vehicle dies."
"Example:callback::on_vehicle_spawned(&on_vehicle_spawned);"

Definition at line 383 of file callbacks_shared.gsc.

References add_callback().

◆ remove_callback()

◆ remove_callback_on_death()

function remove_callback_on_death ( event  ,
func   
)

Definition at line 84 of file callbacks_shared.gsc.

References remove_callback().

Referenced by add_callback().

◆ remove_on_actor_damage()

function remove_on_actor_damage ( func  ,
obj   
)

Description:
"Function Name: remove_on_actor_damage(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a actor gets damaged"
"Mandatory Argument(s): <func> the function you want to remove when a actor recieves damage."
"Example:callback::remove_on_actor_damage(&on_actor_killed);"

Definition at line 501 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_actor_killed()

function remove_on_actor_killed ( func  ,
obj   
)

Description:
"Function Name: remove_on_actor_killed(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a actor dies"
"Mandatory Argument(s): <func> the function you want to remove when a actor dies."
"Example:callback::remove_on_actor_killed(&on_actor_killed);"

Definition at line 370 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_ai_damage()

function remove_on_ai_damage ( func  ,
obj   
)

Description:
"Function Name: remove_on_ai_damage(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a ai gets damaged"
"Mandatory Argument(s): <func> the function you want to remove when a ai recieves damage."
"Example:callback::remove_on_ai_damage(&on_ai_killed);"

Definition at line 448 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_ai_killed()

function remove_on_ai_killed ( func  ,
obj   
)

Description:
"Function Name: remove_on_ai_killed(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a ai dies"
"Mandatory Argument(s): <func> the function you want to remove when a ai dies."
"Example:callback::remove_on_ai_killed(&on_ai_killed);"

Definition at line 344 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_ai_spawned()

function remove_on_ai_spawned ( func  ,
obj   
)

Description:
"Function Name: remove_on_ai_spawned(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a ai spawns"
"Mandatory Argument(s): <func> the function you want to remove when a ai spawns."
"Example:callback::remove_on_ai_spawned(&on_ai_spawned);"

Definition at line 474 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_connect()

function remove_on_connect ( func  ,
obj   
)

Description:
"Function Name: remove_on_connect(<func>)"
"Summary: Remove a callback for when a player connects"
"Mandatory Argument(s): <func> the function you want to Remove on the new player."
"Example:callback::remove_on_connect(&on_player_connect);"

Definition at line 134 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_connecting()

function remove_on_connecting ( func  ,
obj   
)

Description:
"Function Name: remove_on_connecting(<func>)" "Module: Callbacks"
"Summary: Set a callback for when a player is connecting"
"Mandatory Argument(s): <func> the function you want to Remove on the new player."
"Example:callback::remove_on_connecting(&on_player_connect);"

Definition at line 159 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_disconnect()

function remove_on_disconnect ( func  ,
obj   
)

Description:
"Function Name: remove_on_disconnect(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a player connects"
"Mandatory Argument(s): <func> the function you want to remove when a player disconnects."
"Example:callback::remove_on_disconnect(&on_player_disconnect);"

Definition at line 177 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_loadout()

function remove_on_loadout ( func  ,
obj   
)

Description:
"Function Name: remove_on_loadout( <func> )"
"Summary: Remove a callback for when a player gets their loadout set"
"Mandatory Argument(s): <func> the function you want to remove."
"Example:callback::remove_on_loadout( &on_loadout );"

Definition at line 225 of file callbacks_shared.gsc.

References remove_callback().

Referenced by cSceneObject::_play_shared_player_anim(), and _stop_camera_anim_on_player().

◆ remove_on_player_damage()

function remove_on_player_damage ( func  ,
obj   
)

Description:
"Function Name: remove_on_player_damage(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a player get damaged"
"Mandatory Argument(s): <func> the function you want to Remove on the damaged player."
"Example:callback::remove_on_player_damage(&on_player_damage);"

Definition at line 251 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_player_killed()

function remove_on_player_killed ( func  ,
obj   
)

Description:
"Function Name: remove_on_player_killed(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a player dies"
"Mandatory Argument(s): <func> the function you want to remove when a player dies."
"Example:callback::remove_on_player_killed(&on_player_killed);"
"Single Player / Multi Player: singleplayer"

Definition at line 318 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_spawned()

function remove_on_spawned ( func  ,
obj   
)

Description:
"Function Name: remove_on_spawned(<func>)"
"Summary: Remove a callback for when a player spawns"
"Mandatory Argument(s): <func> the function you want to remove on the new player."
"Example:callback::remove_on_spawned( &on_player_spawned );"

Definition at line 201 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_vehicle_damage()

function remove_on_vehicle_damage ( func  ,
obj   
)

Description:
"Function Name: remove_on_vehicle_damage(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a vehicle gets damaged"
"Mandatory Argument(s): <func> the function you want to remove when a vehicle recieves damage."
"Example:callback::remove_on_vehicle_damage(&on_vehicle_killed);"

Definition at line 529 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_vehicle_killed()

function remove_on_vehicle_killed ( func  ,
obj   
)

Description:
"Function Name: remove_on_vehicle_killed(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a vehicle dies"
"Mandatory Argument(s): <func> the function you want to remove when a vehicle dies."
"Example:callback::remove_on_vehicle_killed(&on_vehicle_killed);"

Definition at line 422 of file callbacks_shared.gsc.

References remove_callback().

◆ remove_on_vehicle_spawned()

function remove_on_vehicle_spawned ( func  ,
obj   
)

Description:
"Function Name: remove_on_vehicle_spawned(<func>)" "Module: Callbacks"
"Summary: Remove a callback for when a vehicle spawns"
"Mandatory Argument(s): <func> the function you want to remove when a vehicle dies."
"Example:callback::remove_on_vehicle_spawned(&on_vehicle_spawned);"

Definition at line 396 of file callbacks_shared.gsc.

References remove_callback().