ball::reset_ball()
Resets ball. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
ball::reset_ball(var_fd894ecd = 1, var_a987c5a2, var_6f3d4b2e)
Needs #using the script that defines it (scripts/zm/_zm_weap_ball.gsc).
Parameters
| Name | Details |
|---|---|
| var_fd894ecd | default: 1 |
| var_a987c5a2 | |
| var_6f3d4b2e |
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 12 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_weap_ball.gsc, line 2098
self reset_ball(); - scripts/zm/zm_genesis_arena.gsc, line 6014
var_d9543609 ball::reset_ball(0, s_pos.origin); - scripts/zm/zm_genesis_ee_quest.gsc, line 2157
var_46352a82 ball::reset_ball(1, var_46352a82.lastcarrier.origin, 1); - scripts/zm/zm_genesis_portals.gsc, line 549
var_d9543609 ball::reset_ball(0); - scripts/zm/zm_genesis_teleporter.gsc, line 557
var_d9543609 ball::reset_ball(0);
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).