GSC reference › Built-in
UnSetTurretNode()
Built-in (engine)
Server
Unset the turret from this node.
Signature
UnSetTurretNode(<node>)
Parameters
| Name | Required? | Details |
|---|---|---|
| node | Required | The turret node to disconnect |
Example (from Treyarch's docs)
UnSetTurretNode( node )
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
- SetTurretNode()Set this turretnode to use this turret.
- SetTurretTargetEnt()Set the target entity for this vehicle turret.
- SetTurretTargetRelativeAngles()Set the target entity for this vehicle turret.
- SetEnableNode()Disables or enabled this node.
- SetTurretSpinning()Set the minigun spin for the turret on this entity.
- SetTurretTargetVec()Set the target position for this vehicle turret.
- setgoalnode()Set this AI 's goal.
- GetNodeOffsetPosition()Returns the position the actor thinks the node's origin is at, this can be offset from where the actual node's position in the world is.
- Target_SetTurretAquire()Sets if the target can be attacked by SAM turrets
- GetNodeOffsetAngles()Returns the angles the actor thinks the node is facing, this can contain additional rotation from the node's actual angles.
- SetGunnerTurretOnTargetRange()Set the range at which the gunner_turret_on_target notify will occur.
- SetSwitchNode()Sets a switch node for this vehicle.
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).