beam::kill()
beam helper: kill. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
beam::kill(ent_1, str_tag1, ent_2, str_tag2, str_beam_type)
Needs #using the script that defines it (scripts/shared/beam_shared.csc).
Parameters
| Name |
|---|
| ent_1 |
| str_tag1 |
| ent_2 |
| str_tag2 |
| str_beam_type |
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 16 times in the decompiled scripts. A few, zombies first:
- scripts/zm/_zm_altbody_beast.csc, line 1297
level beam::kill(player, tag, pivot, "tag_origin", "zod_beast_grapple_beam"); - scripts/zm/_zm_grappler.csc, line 122
level beam::kill(player, tag, pivot, "tag_origin", "zod_beast_grapple_beam"); - scripts/zm/zm_castle_death_ray_trap.csc, line 223
level beam::kill(var_e43465f2, "tag_origin", self, "j_spinelower", var_53106e7c); - scripts/zm/zm_genesis_boss.csc, line 205
level beam::kill(self, "tag_beam", var_f929ecf4, "tag_origin", "dlc4_skull_turret_beam"); - scripts/zm/zm_genesis_skull_turret.csc, line 164
level beam::kill(self, "tag_flash", self.var_f929ecf4, "tag_origin", "dlc4_skull_turret_beam");
More in beam::
- beam::launch()beam helper: launch.
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).