GSC reference › Built-in

AddFXExclusionVolume()

Built-in (engine) Client Gfx

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

Signature

AddFXExclusionVolume(<localClientNum>, <center>, <angles>, <half extents>)

Parameters

NameRequired?Details
localClientNumRequired The local client to create the volume on.
centerRequired The center of the volume.
anglesRequired The rotation angles of the volume.
half extentsRequired The half extents of the volume.

Returns

Returns volume ID.

Example (from Treyarch's docs)

volumeID = AddFXExclusionVolume( 0, (0,0,0), (0, 45, 0), (10, 10, 10) )

Real uses in BO3's scripts

Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.

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