bgb::do_one_shot_use()
Runs one shot use. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
bgb::do_one_shot_use(skip_demo_bookmark = 0)
Needs #using the script that defines it (scripts/zm/_zm_bgb.gsc).
Parameters
| Name | Details |
|---|---|
| skip_demo_bookmark | default: 0 |
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 21 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_bgb.gsc, line 646
self do_one_shot_use(); - scripts/zm/_zm_score.gsc, line 658
self bgb::do_one_shot_use(); - scripts/zm/bgbs/_zm_bgb_aftertaste.gsc, line 87
self bgb::do_one_shot_use(1); - scripts/zm/bgbs/_zm_bgb_arms_grace.gsc, line 63
self bgb::do_one_shot_use(1); - scripts/zm/bgbs/_zm_bgb_board_games.gsc, line 89
self bgb::do_one_shot_use();
More in bgb::
- bgb::register()bgb helper: register.
- bgb::is_enabled()True/false check: is enabled?
- bgb::get_active()Returns the active.
- bgb::set_timer()Sets the timer.
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).