GSC reference › Built-in
MakeTurretUnusable()
Built-in (engine)
Server
Called on: turret
Sets a turret to be unable to be used
Signature
<turret> MakeTurretUnusable()
Called on an entity: turret MakeTurretUnusable(...)
Example (from Treyarch's docs)
roof_turret MakeTurretUnusable()
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
- SetTurretTargetEnt()Set the target entity for this vehicle turret.
- SetTurretTargetRelativeAngles()Set the target entity for this vehicle turret.
- ClearTurretTarget()Clear the target for the vehicle turret.
- SetTurretSpinning()Set the minigun spin for the turret on this entity.
- MakeUnusable()Sets this entity to be not usable by the player
- SetTurretTargetVec()Set the target position for this vehicle turret.
- MakeVehicleUnusable()Sets this vehicle to be not usable by the player
- Target_SetTurretAquire()Sets if the target can be attacked by SAM turrets
- GetTurretTargetVec()Get the target position for this vehicle turret or gunner.
- IsCarryingTurret()Check if player is carrying turret or not.
- IsFiringTurret()Checks whether this turret is firing.
- ShootTurret()Shoots a turret
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).