‪Black Ops 3 Source Code Explorer  0.1
‪An script explorer for Black Ops 3 by ZeRoY
All Data Structures Files Functions Variables Macros
_ballistic_knife.gsc File Reference

Go to the source code of this file.

Macros

#define RETRIEVE_TRIGGER_HEIGHT   100
 
#define RETRIEVE_TRIGGER_RADIUS   50
 

Functions

function createBallisticKnifeWatcher ()
 
function destroy_ent ()
 
function dropKnivesToGround ()
 
function dropToGround (origin, radius)
 
function init_shared ()
 
function onSpawn (watcher, player)
 
function onSpawnRetrieveTrigger (watcher, player)
 
function pick_up (player)
 
function updateRetrieveTrigger ()
 
function watch_shutdown ()
 
function watch_use_trigger (trigger, model, callback, playerSoundOnUse, npcSoundOnUse)
 

Macro Definition Documentation

◆ RETRIEVE_TRIGGER_HEIGHT

#define RETRIEVE_TRIGGER_HEIGHT   100

Definition at line 11 of file _ballistic_knife.gsc.

◆ RETRIEVE_TRIGGER_RADIUS

#define RETRIEVE_TRIGGER_RADIUS   50

Definition at line 12 of file _ballistic_knife.gsc.

Function Documentation

◆ createBallisticKnifeWatcher()

function createBallisticKnifeWatcher ( )

◆ destroy_ent()

function destroy_ent ( )

Definition at line 234 of file _ballistic_knife.gsc.

Referenced by pick_up(), and pickup_placeable_mine().

◆ dropKnivesToGround()

function dropKnivesToGround ( )

Definition at line 247 of file _ballistic_knife.gsc.

References dropToGround().

Referenced by onSpawn().

◆ dropToGround()

function dropToGround ( origin  ,
radius   
)

Definition at line 258 of file _ballistic_knife.gsc.

References updateRetrieveTrigger().

Referenced by dropKnivesToGround(), and onSpawn().

◆ init_shared()

function init_shared ( )

Definition at line 16 of file _ballistic_knife.gsc.

References add_weapon_watcher(), and createBallisticKnifeWatcher().

Referenced by __init__().

◆ onSpawn()

function onSpawn ( watcher  ,
player   
)

Definition at line 21 of file _ballistic_knife.gsc.

References dropKnivesToGround(), dropToGround(), and spawn().

Referenced by createBallisticKnifeWatcher(), and piece_spawn_at().

◆ onSpawnRetrieveTrigger()

function onSpawnRetrieveTrigger ( watcher  ,
player   
)

◆ pick_up()

function pick_up ( player  )

Definition at line 202 of file _ballistic_knife.gsc.

References destroy_ent(), and pickedUpBallisticKnife().

Referenced by onSpawnRetrieveTrigger(), and pickup_placeable_mine().

◆ updateRetrieveTrigger()

function updateRetrieveTrigger ( )

Definition at line 267 of file _ballistic_knife.gsc.

Referenced by dropToGround().

◆ watch_shutdown()

function watch_shutdown ( )

Definition at line 86 of file _ballistic_knife.gsc.

Referenced by onSpawnRetrieveTrigger().

◆ watch_use_trigger()

function watch_use_trigger ( trigger  ,
model  ,
callback  ,
playerSoundOnUse  ,
npcSoundOnUse   
)

Definition at line 145 of file _ballistic_knife.gsc.

References callback().

Referenced by onSpawnRetrieveTrigger().