GSC reference › Built-in

AddBoltedFXExclusionVolume()

Built-in (engine) Client Gfx

Create a bolted volume that will exclude FX that are flagged as "Respect Exclusion Volumes". Returns volume ID.

Signature

AddBoltedFXExclusionVolume(<localClientNum>, <entity>, <tag name>, <half extents>, [offset])

Parameters

NameRequired?Details
localClientNumRequired The local client to create the volume on.
entityRequired The entity to attach the volume to.
tag nameRequired The tag to use as the volume's origin.
half extentsRequired The half extents of the volume.
offsetOptional An offset from the tag name for the volume's origin; default is 0 0 0.

Returns

Returns volume ID.

Example (from Treyarch's docs)

volumeID = AddBoltedFXExclusionVolume( 0, entity, tag_origin, (10, 10, 10) )

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