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

Go to the source code of this file.

Macros

#define CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_CLAMP   "piece_riotshield_clamp"
 
#define CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_DOLLY   "piece_riotshield_dolly"
 
#define CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_DOOR   "piece_riotshield_door"
 
#define GROUND_LEVEL   0
 
#define RIOTSHIELD_OFFSET   26
 
#define ZM_CRAFTABLES_FULLY_CRAFTED_UI_DURATION   3.5
 
#define ZM_CRAFTABLES_NOT_ENOUGH_PIECES_UI_DURATION   3.5
 
#define ZMUI_SHIELD_CRAFTED   "ZMUI_SHIELD_CRAFTED"
 
#define ZMUI_SHIELD_PART_PICKUP   "ZMUI_SHIELD_PART_PICKUP"
 

Functions

function __init__ ()
 
function __main__ ()
 
function drop_on_mover (player)
 
function init (shield_equipment, shield_weapon, shield_model, str_to_craft=&"ZOMBIE_CRAFT_RIOT", str_taken=&"ZOMBIE_BOUGHT_RIOT", str_grab=&"ZOMBIE_GRAB_RIOTSHIELD")
 
function on_buy_weapon_riotshield (player)
 
function on_drop_common (player)
 
function on_fully_crafted ()
 
function on_pickup_common (player)
 
function pickup_from_mover ()
 
function riotshield_craftable ()
 
function show_infotext_for_duration (str_infotext, n_duration)
 

Macro Definition Documentation

◆ CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_CLAMP

#define CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_CLAMP   "piece_riotshield_clamp"

Definition at line 38 of file _zm_craft_shield.gsc.

◆ CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_DOLLY

#define CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_DOLLY   "piece_riotshield_dolly"

Definition at line 36 of file _zm_craft_shield.gsc.

◆ CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_DOOR

#define CLIENTFIELD_CRAFTABLE_PIECE_RIOTSHIELD_DOOR   "piece_riotshield_door"

Definition at line 37 of file _zm_craft_shield.gsc.

◆ GROUND_LEVEL

#define GROUND_LEVEL   0

Definition at line 45 of file _zm_craft_shield.gsc.

◆ RIOTSHIELD_OFFSET

#define RIOTSHIELD_OFFSET   26

Definition at line 46 of file _zm_craft_shield.gsc.

◆ ZM_CRAFTABLES_FULLY_CRAFTED_UI_DURATION

#define ZM_CRAFTABLES_FULLY_CRAFTED_UI_DURATION   3.5

Definition at line 43 of file _zm_craft_shield.gsc.

◆ ZM_CRAFTABLES_NOT_ENOUGH_PIECES_UI_DURATION

#define ZM_CRAFTABLES_NOT_ENOUGH_PIECES_UI_DURATION   3.5

Definition at line 42 of file _zm_craft_shield.gsc.

◆ ZMUI_SHIELD_CRAFTED

#define ZMUI_SHIELD_CRAFTED   "ZMUI_SHIELD_CRAFTED"

Definition at line 40 of file _zm_craft_shield.gsc.

◆ ZMUI_SHIELD_PART_PICKUP

#define ZMUI_SHIELD_PART_PICKUP   "ZMUI_SHIELD_PART_PICKUP"

Definition at line 39 of file _zm_craft_shield.gsc.

Function Documentation

◆ __init__()

function __init__ ( )

Definition at line 57 of file _zm_craft_shield.gsc.

◆ __main__()

function __main__ ( )

Definition at line 98 of file _zm_craft_shield.gsc.

◆ drop_on_mover()

function drop_on_mover ( player  )

Definition at line 175 of file _zm_craft_shield.gsc.

Referenced by on_drop_common().

◆ init()

◆ on_buy_weapon_riotshield()

function on_buy_weapon_riotshield ( player  )

Definition at line 184 of file _zm_craft_shield.gsc.

Referenced by init().

◆ on_drop_common()

function on_drop_common ( player  )

Definition at line 142 of file _zm_craft_shield.gsc.

References drop_on_mover().

Referenced by init().

◆ on_fully_crafted()

◆ on_pickup_common()

◆ pickup_from_mover()

function pickup_from_mover ( )

Definition at line 151 of file _zm_craft_shield.gsc.

Referenced by on_pickup_common().

◆ riotshield_craftable()

function riotshield_craftable ( )

Definition at line 102 of file _zm_craft_shield.gsc.

References craftable_trigger_think(), DELETE_TRIGGER, and PERSISTENT.

Referenced by init().

◆ show_infotext_for_duration()

function show_infotext_for_duration ( str_infotext  ,
n_duration   
)

Definition at line 111 of file _zm_craft_shield.gsc.

References set_to_player().

Referenced by on_fully_crafted(), and on_pickup_common().