NPC (23)
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.
Last updated
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.
Last updated
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BradleyAPC.CanDeployScientists of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseNpc.WantsToEat of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseAIBrain.SwitchToState of Assembly-CSharp.dll.
No return behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseAIBrain.SwitchToState of Assembly-CSharp.dll.
This hook requires OnAIBrainStateSwitch, which loads alongside OnAIBrainStateSwitched.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCPlayer.CreateCorpse of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ScientistNPC.Alert of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches BaseNpc.StartAttack of Assembly-CSharp.dll.
No return behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCTalking.OnConversationEnded of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCTalking.Server_ResponsePressed of Assembly-CSharp.dll.
No return behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCTalking.Server_ResponsePressed of Assembly-CSharp.dll.
This hook requires OnNpcConversationRespond, which loads alongside OnNpcConversationResponded.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCTalking.Server_BeginTalking of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches HumanNPC.SetDucked of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ScientistNPC.EquipWeapon of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCPlayer.EquipWeapon of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches NPCVendingMachine.GiveSoldItem of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches ScientistNPC.PlayRadioChatter of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches HumanNPC.GetBestTarget of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches SenseComponent.CanTarget of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches AIBrainSenses.GetNearest of Assembly-CSharp.dll.
Returning a non-null value cancels default behavior.
This hook is compatible within Carbon and Oxide.
Patches SimpleAIMemory.SetKnown of Assembly-CSharp.dll.
No return behavior.
This hook is compatible within Carbon and Oxide.
Patches BradleyAPC.InitScientist of Assembly-CSharp.dll.
No return behavior.
This hook is compatible within Carbon and Oxide.
Patches BradleyAPC.OnScientistMounted of Assembly-CSharp.dll.