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
| Name | Required? | Details |
|---|---|---|
| localClientNum | Required | The local client to create the volume on. |
| center | Required | The center of the volume. |
| angles | Required | The rotation angles of the volume. |
| half extents | Required | 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
- AddBoltedFXExclusionVolume()Create a bolted volume that will exclude FX that are flagged as "Respect Exclusion Volumes".
- RemoveFXExclusionVolume()Removes the given exclusion volume.
- FindVolumeDecalIndexArray()Returns an array indices of a volume decal whose targetname matches the passed in string
- SetClientVolumetricFog()Set the client volumetric fog properties
- HideVolumeDecal()Hide a static model
- UnhideVolumeDecal()Unhide a static model
- GetServerVolumetricFogDensity()Get the density of server volumetric fog
- SetLutVolumeActiveBank()Set lut volumes active bank bit mask.
- SetServerVolumetricFogDensity()Set the density of server volumetric fog
- SwitchToClientVolumetricFog()Switch to the client volumetric fog
- SwitchToServerVolumetricFog()Switch to the server volumetric fog
- GetClosestPointOnNavVolume()Get a point on nav volume that's closest to the given position within radius.
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).