GSC reference › Built-in

BeamLaunch()

Built-in (engine) Client Gfx

Launch this beam and return the internal handle.

Signature

BeamLaunch(<localClientNum>, <entity from>, <tag from>, <entity to>, <tag to>, <beam>)

Parameters

NameRequired?Details
localClientNumRequired Local client on which to play the beam
entity fromRequired The originating entity
tag fromRequired The tag on the originating entity to start from
entity toRequired The target entity
tag toRequired The target tag
beamRequired The beam

Example (from Treyarch's docs)

handle = BeamLaunch(0, launcher, launcherTag, target, targetTag, beam)

Real uses in BO3's scripts

Called 5 times in the decompiled scripts. A few, zombies first:

Related built-ins

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).