NPC

From GMod Wiki

Jump to: navigation, search


Represents an NPC's properties. The NPC object is a child of Entity.

Object Methods

State Method Name
seNewerServer.png
NPC:AddEntityRelationship
seNewerServer.png
NPC:AddRelationship
seNewerServer.png
NPC:AlertSound
seNewerServer.png
NPC:CapabilitiesAdd
seNewerServer.png
NPC:CapabilitiesClear
seNewerServer.png
NPC:CapabilitiesGet
seNewerServer.png
NPC:CapabilitiesRemove
seNewerServer.png
NPC:Classify
seNewerServer.png
NPC:ClearCondition
seNewerServer.png
NPC:ClearEnemyMemory
seNewerServer.png
NPC:ClearExpression
seNewerServer.png
NPC:ClearGoal
seNewerServer.png
NPC:ClearSchedule
seNewerServer.png
NPC:ConditionName
seNewerServer.png
NPC:ExitScriptedSequence
seNewerServer.png
NPC:FearSound
seNewerServer.png
NPC:FoundEnemySound
seNewerServer.png
NPC:GetActiveWeapon
seNewerServer.png
NPC:GetAimVector
seNewerServer.png
NPC:GetArrivalActivity
seNewerServer.png
NPC:GetArrivalSequence
seNewerServer.png
NPC:GetBlockingEntity
seNewerServer.png
NPC:GetCurrentWeaponProficiency
seNewerServer.png
NPC:GetEnemy
seNewerServer.png
NPC:GetExpression
seNewerServer.png
NPC:GetHullType
seNewerServer.png
NPC:GetMovementActivity
seNewerServer.png
NPC:GetMovementSequence
seNewerServer.png
NPC:GetNPCState
seNewerServer.png
NPC:GetPathDistanceToGoal
seNewerServer.png
NPC:GetPathTimeToGoal
seNewerServer.png
NPC:GetShootPos
seNewerServer.png
NPC:GetTarget
seNewerServer.png
NPC:Give
seNewerServer.png
NPC:HasCondition
seNewerServer.png
NPC:IdleSound
seNewerServer.png
NPC:IsCurrentSchedule
seNewerServer.png
NPC:IsRunningBehavior
seNewerServer.png
NPC:LostEnemySound
seNewerServer.png
NPC:MaintainActivity
seNewerServer.png
NPC:MarkEnemyAsEluded
seNewerServer.png
NPC:MoveOrder
seNewerServer.png
NPC:NavSetGoal
seNewerServer.png
NPC:NavSetGoalTarget
seNewerServer.png
NPC:NavSetRandomGoal
seNewerServer.png
NPC:NavSetWanderGoal
seNewerServer.png
NPC:PlayScene
seNewerServer.png
NPC:PlaySentence
seNewerServer.png
NPC:RemoveMemory
seNewerServer.png
NPC:RunEngineTask
seNewerServer.png
NPC:SentenceStop
seNewerServer.png
NPC:SetArrivalActivity
seNewerServer.png
NPC:SetArrivalDirection
seNewerServer.png
NPC:SetArrivalDistance
seNewerServer.png
NPC:SetArrivalSequence
seNewerServer.png
NPC:SetArrivalSpeed
seNewerServer.png
NPC:SetCondition
seNewerServer.png
NPC:SetCurrentWeaponProficiency
seNewerServer.png
NPC:SetEnemy
seNewerServer.png
NPC:SetExpression
seNewerServer.png
NPC:SetHullSizeNormal
seNewerServer.png
NPC:SetHullType
seNewerServer.png
NPC:SetLastPosition
seNewerServer.png
NPC:SetMaxRouteRebuildTime
seNewerServer.png
NPC:SetMovementActivity
seNewerServer.png
NPC:SetMovementSequence
seNewerServer.png
NPC:SetNPCState
seNewerServer.png
NPC:SetSchedule
seNewerServer.png
NPC:SetTarget
seNewerServer.png
NPC:StartEngineTask
seNewerServer.png
NPC:StopMoving
seNewerServer.png
NPC:TargetOrder
seNewerServer.png
NPC:TaskComplete
seNewerServer.png
NPC:TaskFail
seNewerServer.png
NPC:UpdateEnemyMemory
seNewerServer.png
NPC:UseActBusyBehavior
seNewerServer.png
NPC:UseAssaultBehavior
seNewerServer.png
NPC:UseFollowBehavior
seNewerServer.png
NPC:UseFuncTankBehavior
seNewerServer.png
NPC:UseLeadBehavior
seNewerServer.png
NPC:UseNoBehavior
shNewerShared.png
NPC:IsNPC
shNewerShared.png
zNPC:__gc
shNewerShared.png
zNPC:__index
shNewerShared.png
zNPC:__newindex
shNewerShared.png
zNPC:__tostring

Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox