Turret (16)
All currently available hooks that are found in Carbon. Most hooks would be ones compatible with Oxide, although there are Carbon-only ones as well.
OnInterferenceOthersUpdate
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches AutoTurret.UpdateInterferenceOnOthers of Assembly-CSharp.dll.
OnInterferenceUpdate
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches AutoTurret.UpdateInterference of Assembly-CSharp.dll.
OnNearbyTurretsScan
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches AutoTurret.UpdateNearbyTurrets of Assembly-CSharp.dll.
Called when a player attempts to authorize another player on a turret.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.AssignToFriend of Assembly-CSharp.dll.
Called when a player has been authorized on a turret by another player.
No return behaviour.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.AssignToFriend of Assembly-CSharp.dll.
This hook requires OnTurretAssign, which loads alongside OnTurretAssigned.
Called when a player attempts to authorize on a turret.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.AddSelfAuthorize of Assembly-CSharp.dll.
Called when a player attempts to clear an autoturret's authorized list.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.ClearList of Assembly-CSharp.dll.
Called when a player is deauthorized on an autoturret.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.RemoveSelfAuthorize of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is Carbon-only compatible.
Patches AutoTurret.Server_SetID of Assembly-CSharp.dll.
Called when the mode of an autoturrent is toggled.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.SERVER_Peacekeeper of Assembly-CSharp.dll.
Called when the mode of an autoturrent is toggled.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.SERVER_AttackAll of Assembly-CSharp.dll.
Called when a player tries to rotate an auto turret.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.FlipAim of Assembly-CSharp.dll.
Called when an autoturret is shut down.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.InitiateShutdown of Assembly-CSharp.dll.
Called when an autoturret starts up.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.InitiateStartup of Assembly-CSharp.dll.
Called when an autoturret attempts to target an entity.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.SetTarget of Assembly-CSharp.dll.
Called when an autoturret toggles powerstate (on/off).
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AutoTurret.SetIsOnline of Assembly-CSharp.dll.
Last updated