ability_player::register_gadget_is_flickering_callbacks()
Registers gadget is flickering callbacks. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
ability_player::register_gadget_is_flickering_callbacks(type, flickering_func)
Needs #using the script that defines it (scripts/shared/abilities/_ability_player.gsc).
Parameters
| Name |
|---|
| type |
| flickering_func |
The decompiled scripts don't keep default values, so some of these may be optional: check the real uses below.
Real uses in BO3's scripts
Called 36 times in the decompiled scripts. A few, zombies first:
- scripts/shared/abilities/gadgets/_gadget_active_camo.gsc, line 42
ability_player::register_gadget_is_flickering_callbacks(31, &camo_is_flickering); - scripts/shared/abilities/gadgets/_gadget_armor.gsc, line 45
ability_player::register_gadget_is_flickering_callbacks(4, &gadget_armor_is_flickering); - scripts/shared/abilities/gadgets/_gadget_cacophany.gsc, line 43
ability_player::register_gadget_is_flickering_callbacks(25, &gadget_cacophany_is_flickering); - scripts/shared/abilities/gadgets/_gadget_camo.gsc, line 42
ability_player::register_gadget_is_flickering_callbacks(2, &camo_is_flickering); - scripts/shared/abilities/gadgets/_gadget_cleanse.gsc, line 43
ability_player::register_gadget_is_flickering_callbacks(17, &gadget_cleanse_is_flickering);
More in ability_player::
- ability_player::register_gadget_activation_callbacks()Registers gadget activation callbacks.
- ability_player::register_gadget_flicker_callbacks()Registers gadget flicker callbacks.
- ability_player::register_gadget_is_inuse_callbacks()Registers gadget is inuse callbacks.
- ability_player::register_gadget_possession_callbacks()Registers gadget possession callbacks.
- ability_player::register_gadget_primed_callbacks()Registers gadget primed callbacks.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).