aat::register()
Registers an Alternate Ammo Type (AAT) and its effect function. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
aat::register(name, localized_string, icon)
Needs #using the script that defines it (scripts/shared/aat_shared.gsc).
Parameters
| Name |
|---|
| name |
| localized_string |
| icon |
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 11 times in the decompiled scripts. A few, zombies first:
- scripts/zm/aats/_zm_aat_blast_furnace.csc, line 37
aat::register("zm_aat_blast_furnace", "zmui_zm_aat_blast_furnace", "t7_icon_zm_aat_blast_furnace"); - scripts/zm/aats/_zm_aat_blast_furnace.gsc, line 45
aat::register("zm_aat_blast_furnace", 0.15, 0, 15, 0, 1, &result, "t7_hud_zm_aat_blastfurnace", "wpn_aat_blast_furnace_plr"); - scripts/zm/aats/_zm_aat_dead_wire.csc, line 37
aat::register("zm_aat_dead_wire", "zmui_zm_aat_dead_wire", "t7_icon_zm_aat_dead_wire"); - scripts/zm/aats/_zm_aat_dead_wire.gsc, line 46
aat::register("zm_aat_dead_wire", 0.2, 0, 5, 2, 1, &result, "t7_hud_zm_aat_deadwire", "wpn_aat_dead_wire_plr"); - scripts/zm/aats/_zm_aat_fire_works.csc, line 37
aat::register("zm_aat_fire_works", "zmui_zm_aat_fire_works", "t7_icon_zm_aat_fire_works");
More in aat::
- aat::register_immunity()Registers immunity.
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).