# NPC

- **İngilizce aslı:** https://wiki.facepunch.com/gmod/NPC
- **Çeviri tarihi:** 2025-09-08

Bu, yalnızca NPC'ler için mevcut olan tüm metotların bir listesidir. NPC'ler üzerinde [Entity](https://gmod.tr/wiki/Entity) fonksiyonlarını çağırmak da mümkündür.

Entity'den metotları miras alır.

## Metotlar

NPC:[AddEntityRelationship](https://gmod.tr/wiki/NPC:AddEntityRelationship)( [Entity](https://gmod.tr/wiki/Entity) target, [number](https://gmod.tr/wiki/number) disposition, [number](https://gmod.tr/wiki/number) priority = 0 )

NPC'nin söz konusu varlığa karşı sevgi, nefret, nötr veya korku hissetmesini sağlar. Belirli bir varlık sınıfına karşı ilişki kurmak isterseniz NPC:AddRelationship kullanın. NPC'ler varsayılan olarak NextBot'ları görmezler. Bu, NextBot'a FL_OBJECT bayrağı eklenerek düzeltilebilir.

NPC:[AddRelationship](https://gmod.tr/wiki/NPC:AddRelationship)( [string](https://gmod.tr/wiki/string) relationstring )

Bir NPC'nin başka bir NPC'ye karşı ne hissettiğini değiştirir. Belirli bir varlığa karşı ilişki kurmak isterseniz NPC:AddEntityRelationship kullanın. Sonsuz döngülerden kaynaklanan çökmeleri önlemek için bunu GM:OnEntityCreated içinde kullanmaktan kaçının. Bu fonksiyon, verilen sınıfa sahip bir varlık oluşturabilir ve hemen ardından silebilir.

NPC:[AdvancePath](https://gmod.tr/wiki/NPC:AdvancePath)()

NPC'yi yolunda bir sonraki ara noktaya ilerletir.

NPC:[AlertSound](https://gmod.tr/wiki/NPC:AlertSound)()

Bir NPC'yi Uyarı (Alert) sesini çalmaya zorlar.

[boolean](https://gmod.tr/wiki/boolean) NPC:[AutoMovement](https://gmod.tr/wiki/NPC:AutoMovement)( [number](https://gmod.tr/wiki/number) interval, [Entity](https://gmod.tr/wiki/Entity) target = NULL )

Mevcut sekansın sahip olabileceği herhangi bir hareketi yürütür.

NPC:[CapabilitiesAdd](https://gmod.tr/wiki/NPC:CapabilitiesAdd)( [number](https://gmod.tr/wiki/number) capabilities )

NPC'ye bir yetenek ekler.

NPC:[CapabilitiesClear](https://gmod.tr/wiki/NPC:CapabilitiesClear)()

NPC'nin sahip olduğu tüm Yetenekleri kaldırır.

[number](https://gmod.tr/wiki/number) NPC:[CapabilitiesGet](https://gmod.tr/wiki/NPC:CapabilitiesGet)()

NPC'nin yeteneklerini, silahında tanımlananlarla birlikte döndürür.

NPC:[CapabilitiesRemove](https://gmod.tr/wiki/NPC:CapabilitiesRemove)( [number](https://gmod.tr/wiki/number) capabilities )

Belirli bir yeteneği kaldırır.

[number](https://gmod.tr/wiki/number) NPC:[Classify](https://gmod.tr/wiki/NPC:Classify)()

NPC sınıfını döndürür. Entity:GetClass ile karıştırmayın!

NPC:[ClearBlockingEntity](https://gmod.tr/wiki/NPC:ClearBlockingEntity)()

NPC:GetBlockingEntity'yi sıfırlar.

NPC:[ClearCondition](https://gmod.tr/wiki/NPC:ClearCondition)( [number](https://gmod.tr/wiki/number) condition )

Bu NPC üzerindeki belirtilen COND enum'unu temizler.

NPC:[ClearEnemyMemory](https://gmod.tr/wiki/NPC:ClearEnemyMemory)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

Düşmanı NPC'nin hafızasından temizler, böylece NPC görüşüyle veya NPC:UpdateEnemyMemory ile tekrar karşılaşılana kadar etkili bir şekilde unutulur.

NPC:[ClearExpression](https://gmod.tr/wiki/NPC:ClearExpression)()

NPC:SetExpression ile ayarlanabilen NPC'nin mevcut ifadesini temizler.

NPC:[ClearGoal](https://gmod.tr/wiki/NPC:ClearGoal)()

Mevcut NPC hedefini veya amacını temizler.

NPC:[ClearSchedule](https://gmod.tr/wiki/NPC:ClearSchedule)()

NPC'nin yapmakta olduğu mevcut programı durdurur.

[string](https://gmod.tr/wiki/string) NPC:[ConditionName](https://gmod.tr/wiki/NPC:ConditionName)( [number](https://gmod.tr/wiki/number) cond )

Durum ID'sini bir metne çevirir.

[number](https://gmod.tr/wiki/number), [number](https://gmod.tr/wiki/number) NPC:[Disposition](https://gmod.tr/wiki/NPC:Disposition)( [Entity](https://gmod.tr/wiki/Entity) ent )

NPC'nin belirli bir varlık hakkında nasıl "hissettiğini" döndürür. Bkz. NPC:AddEntityRelationship. Yapay zeka türündeki varlıklar için bu, ENTITY:GetRelationship'i döndürür. Eğer nil döndürürse veya motor NPC'leri için, bu fonksiyon en son NPC:AddEntityRelationship tarafından ayarlanan değeri döndürür. Son çare olarak, motor bu NPC'nin NPC:Classify'ına dayanarak eğilime karar verecektir.

NPC:[DropWeapon](https://gmod.tr/wiki/NPC:DropWeapon)( [Weapon](https://gmod.tr/wiki/Weapon) weapon = nil, [Vector](https://gmod.tr/wiki/Vector) target = nil, [Vector](https://gmod.tr/wiki/Vector) velocity = nil )

NPC'yi belirtilen silahı düşürmeye zorlar.

NPC:[ExitScriptedSequence](https://gmod.tr/wiki/NPC:ExitScriptedSequence)()

Bir NPC'nin, eğer oynatılıyorsa, betiklenmiş bir sekanstan çıkmasını sağlar.

NPC:[FearSound](https://gmod.tr/wiki/NPC:FearSound)()

Bir NPC'yi Korku (Fear) sesini çalmaya zorlar.

NPC:[FoundEnemySound](https://gmod.tr/wiki/NPC:FoundEnemySound)()

Bir NPC'yi Düşman Bulundu (FoundEnemy) sesini çalmaya zorlar.

[Entity](https://gmod.tr/wiki/Entity) NPC:[GetActiveWeapon](https://gmod.tr/wiki/NPC:GetActiveWeapon)()

NPC'nin şu anda taşıdığı silahı veya NULL döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetActivity](https://gmod.tr/wiki/NPC:GetActivity)()

NPC'nin mevcut aktivitesini döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetAimVector](https://gmod.tr/wiki/NPC:GetAimVector)()

NPC'nin nişan vektörünü döndürür. Player:GetAimVector'ın NPC alternatifidir.

[number](https://gmod.tr/wiki/number) NPC:[GetArrivalActivity](https://gmod.tr/wiki/NPC:GetArrivalActivity)()

NPC hedefine ulaştığında oynatılacak aktiviteyi döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetArrivalDirection](https://gmod.tr/wiki/NPC:GetArrivalDirection)()

NPC'nin başlangıç noktasından mevcut navigasyon hedefine olan yönü döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetArrivalDistance](https://gmod.tr/wiki/NPC:GetArrivalDistance)()

NPC'nin varış mesafesini döndürür, NPC:SetArrivalDistance ile ayarlanır.

[number](https://gmod.tr/wiki/number) NPC:[GetArrivalSequence](https://gmod.tr/wiki/NPC:GetArrivalSequence)()

NPC hedefine vardığında oynatılacak sekansı döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetArrivalSpeed](https://gmod.tr/wiki/NPC:GetArrivalSpeed)()

NPC'nin varış hızını döndürür, NPC:SetArrivalSpeed ile ayarlanır.

[table](https://gmod.tr/wiki/table) NPC:[GetBestSoundHint](https://gmod.tr/wiki/NPC:GetBestSoundHint)( [number](https://gmod.tr/wiki/number) types )

NPC'nin konumuna ve algılayabildiği ses türlerine göre en tehlikeli/en yakın ses ipucunu döndürür.

[Entity](https://gmod.tr/wiki/Entity) NPC:[GetBlockingEntity](https://gmod.tr/wiki/NPC:GetBlockingEntity)()

NPC'nin yolu boyunca onu engelleyen varlığı döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetCurGoalType](https://gmod.tr/wiki/NPC:GetCurGoalType)()

Mevcut navigasyon yolu için hedef türünü döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetCurrentSchedule](https://gmod.tr/wiki/NPC:GetCurrentSchedule)()

NPC'nin mevcut programını döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetCurrentWeaponProficiency](https://gmod.tr/wiki/NPC:GetCurrentWeaponProficiency)()

Bir NPC'nin mevcut silahıyla ne kadar yetkin (becerikli) olduğunu döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetCurWaypointPos](https://gmod.tr/wiki/NPC:GetCurWaypointPos)()

NPC'nin mevcut ara nokta konumunu (NPC'nin şu anda hareket ettiği yer), varsa, alır.

[NPC](https://gmod.tr/wiki/NPC) NPC:[GetEnemy](https://gmod.tr/wiki/NPC:GetEnemy)()

Bu NPC'nin savaşmaya çalıştığı varlığı döndürür. NPC'nin düşmanı yoksa nil döndürür. Düşmanın geçerliliğini doğrulamak için dönüş değerinde IsValid (nil ve NULL'u hesaba katar) kullanmalısınız. Hata Takipçisi: 3132

[number](https://gmod.tr/wiki/number) NPC:[GetEnemyFirstTimeSeen](https://gmod.tr/wiki/NPC:GetEnemyFirstTimeSeen)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

Bir NPC'nin düşmanının NPC tarafından ilk görüldüğü zamanı döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetEnemyLastKnownPos](https://gmod.tr/wiki/NPC:GetEnemyLastKnownPos)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

Bir NPC'nin düşmanının bilinen son konumunu döndürür. NPC:GetEnemyLastSeenPos'a benzer, ancak bilinen konum, son görülen konumdan birkaç saniye ileride olacaktır.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetEnemyLastSeenPos](https://gmod.tr/wiki/NPC:GetEnemyLastSeenPos)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

Bir NPC'nin düşmanının son görülen konumunu döndürür. NPC:GetEnemyLastKnownPos'a benzer, ancak bilinen konum, son görülen konumdan birkaç saniye ileride olacaktır.

[number](https://gmod.tr/wiki/number) NPC:[GetEnemyLastTimeSeen](https://gmod.tr/wiki/NPC:GetEnemyLastTimeSeen)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

Bir NPC'nin düşmanının NPC tarafından en son görüldüğü zamanı döndürür.

[string](https://gmod.tr/wiki/string) NPC:[GetExpression](https://gmod.tr/wiki/NPC:GetExpression)()

NPC'nin şu anda oynattığı ifade dosyasını döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetEyeDirection](https://gmod.tr/wiki/NPC:GetEyeDirection)()

NPC'nin göz yönünü döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetFOV](https://gmod.tr/wiki/NPC:GetFOV)()

NPC'nin Görüş Alanını (Field Of View) döndürür. Bkz. NPC:SetFOV.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetGoalPos](https://gmod.tr/wiki/NPC:GetGoalPos)()

Ulaşmaya çalıştığımız konumu, varsa, döndürür.

[Entity](https://gmod.tr/wiki/Entity) NPC:[GetGoalTarget](https://gmod.tr/wiki/NPC:GetGoalTarget)()

Ulaşmaya çalıştığımız varlığı, varsa, döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetHeadDirection](https://gmod.tr/wiki/NPC:GetHeadDirection)()

NPC'nin 2D kafa yönünü döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetHullType](https://gmod.tr/wiki/NPC:GetHullType)()

NPC:SetHullType tarafından ayarlanan NPC gövde tipini döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetIdealActivity](https://gmod.tr/wiki/NPC:GetIdealActivity)()

NPC'nin şu anda başarmak istediği ideal aktiviteyi döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetIdealMoveAcceleration](https://gmod.tr/wiki/NPC:GetIdealMoveAcceleration)()

NPC'nin ideal hareket ivmesini döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetIdealMoveSpeed](https://gmod.tr/wiki/NPC:GetIdealMoveSpeed)()

NPC'nin ideal hareket hızını döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetIdealSequence](https://gmod.tr/wiki/NPC:GetIdealSequence)()

NPC'nin şu anda başarmak istediği ideal sekansı döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetIdealYaw](https://gmod.tr/wiki/NPC:GetIdealYaw)()

Bu NPC için şu andaki ideal sapma açısını (sol-sağ dönüş) döndürür.

[table](https://gmod.tr/wiki/table) NPC:[GetKnownEnemies](https://gmod.tr/wiki/NPC:GetKnownEnemies)()

Bu NPC'nin bildiği tüm düşmanları döndürür. Ayrıca bakınız: NPC:GetKnownEnemyCount

[number](https://gmod.tr/wiki/number) NPC:[GetKnownEnemyCount](https://gmod.tr/wiki/NPC:GetKnownEnemyCount)()

Bu NPC'nin bilinen düşman sayısını döndürür. Ayrıca bakınız: NPC:GetKnownEnemies

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetLastPosition](https://gmod.tr/wiki/NPC:GetLastPosition)()

NPC'nin son kaydedilmiş veya hafızaya alınmış konumunu döndürür. Programlama kullanırken, NPC nod'lar aracılığıyla son konuma gitmeye odaklanacaktır. Bkz. NPC:SetLastPosition.

[number](https://gmod.tr/wiki/number) NPC:[GetLastTimeTookDamageFromEnemy](https://gmod.tr/wiki/NPC:GetLastTimeTookDamageFromEnemy)( [Entity](https://gmod.tr/wiki/Entity) enemy = nil )

Bu NPC'nin verilen düşmandan son hasar aldığı zamandan beri geçen süreyi CurTime tabanlı olarak döndürür. Son hasar zamanı, NPC:MarkTookDamageFromEnemy çağrıldığında ayarlanır.

[number](https://gmod.tr/wiki/number) NPC:[GetMaxLookDistance](https://gmod.tr/wiki/NPC:GetMaxLookDistance)()

NPC'nin maksimum görüş mesafesini döndürür. Bir NPC, bu mesafenin dışındaki düşmanları göremez.

[number](https://gmod.tr/wiki/number) NPC:[GetMinMoveCheckDist](https://gmod.tr/wiki/NPC:GetMinMoveCheckDist)()

NPC'nin rotasında ne kadar ileriye bakması gerektiğini döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetMinMoveStopDist](https://gmod.tr/wiki/NPC:GetMinMoveStopDist)( [number](https://gmod.tr/wiki/number) minResult = 10 )

NPC'nin ne kadar mesafe önce tamamen durabileceğini döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetMoveDelay](https://gmod.tr/wiki/NPC:GetMoveDelay)()

Verilen NPC için hareket gecikmesini döndürür. Bkz. NPC:SetMoveDelay.

[number](https://gmod.tr/wiki/number) NPC:[GetMoveInterval](https://gmod.tr/wiki/NPC:GetMoveInterval)()

Dahili NPC motorunun çalıştığı mevcut zaman adımını döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetMovementActivity](https://gmod.tr/wiki/NPC:GetMovementActivity)()

NPC'nin mevcut hareket aktivitesini döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetMovementSequence](https://gmod.tr/wiki/NPC:GetMovementSequence)()

NPC'nin hareket etmek için kullandığı sekansın indeksini döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetMoveVelocity](https://gmod.tr/wiki/NPC:GetMoveVelocity)()

NPC'nin mevcut hareket hızını döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetNavType](https://gmod.tr/wiki/NPC:GetNavType)()

NPC'nin navigasyon türünü döndürür.

[NPC](https://gmod.tr/wiki/NPC) NPC:[GetNearestSquadMember](https://gmod.tr/wiki/NPC:GetNearestSquadMember)()

NPC'nin içinde bulunduğu takımın en yakın üyesini döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetNextWaypointPos](https://gmod.tr/wiki/NPC:GetNextWaypointPos)()

NPC'nin bir sonraki ara nokta konumunu, yani mevcut ara noktaya ulaştıktan sonra hareket edeceği yeri, varsa, alır.

[number](https://gmod.tr/wiki/number) NPC:[GetNPCState](https://gmod.tr/wiki/NPC:GetNPCState)()

NPC'nin durumunu döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetPathDistanceToGoal](https://gmod.tr/wiki/NPC:GetPathDistanceToGoal)()

NPC'nin Hedef Amacından ne kadar uzakta olduğunu döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetPathTimeToGoal](https://gmod.tr/wiki/NPC:GetPathTimeToGoal)()

NPC'nin Hedef Amacına ulaşmasının ne kadar süreceğini döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetShootPos](https://gmod.tr/wiki/NPC:GetShootPos)()

NPC'nin atış pozisyonunu, yani mermilerinin nereden geleceğini vb. döndürür. Eğer NPC bunu geçersiz kılmazsa, Entity:GetPos döndürür.

[string](https://gmod.tr/wiki/string) NPC:[GetSquad](https://gmod.tr/wiki/NPC:GetSquad)()

NPC'nin NPC:SetSquad aracılığıyla ayarlanmış olan mevcut takım adını döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetStepHeight](https://gmod.tr/wiki/NPC:GetStepHeight)()

NPC'nin adım yüksekliğini döndürür.

[Entity](https://gmod.tr/wiki/Entity) NPC:[GetTarget](https://gmod.tr/wiki/NPC:GetTarget)()

NPC'nin NPC:SetTarget tarafından ayarlanan mevcut hedefini döndürür. NPC'nin hedefi yoksa nil döndürür. Hedefin geçerliliğini doğrulamak için dönüş değerinde IsValid (nil ve NULL'u hesaba katar) kullanmalısınız. Hata Takipçisi: 3132

[number](https://gmod.tr/wiki/number) NPC:[GetTaskStatus](https://gmod.tr/wiki/NPC:GetTaskStatus)()

Mevcut görevin durumunu döndürür.

[number](https://gmod.tr/wiki/number) NPC:[GetTimeEnemyLastReacquired](https://gmod.tr/wiki/NPC:GetTimeEnemyLastReacquired)( [Entity](https://gmod.tr/wiki/Entity) enemy = nil )

Düşmanın yeniden elde edildiği, yani şu anda NPC'nin Görüş Hattında olduğu zamandan beri geçen süreyi CurTime tabanlı olarak döndürür.

[Vector](https://gmod.tr/wiki/Vector) NPC:[GetViewOffset](https://gmod.tr/wiki/NPC:GetViewOffset)()

NPC'nin görüş ofsetini döndürür. NPC:SetViewOffset tarafından ayarlanır.

[Weapon](https://gmod.tr/wiki/Weapon) NPC:[GetWeapon](https://gmod.tr/wiki/NPC:GetWeapon)( [string](https://gmod.tr/wiki/string) class )

NPC'nin sahip olduğu belirli bir silahı döndürür.

[table](https://gmod.tr/wiki/table) NPC:[GetWeapons](https://gmod.tr/wiki/NPC:GetWeapons)()

NPC'nin silahlarının bir tablosunu döndürür.

[Weapon](https://gmod.tr/wiki/Weapon) NPC:[Give](https://gmod.tr/wiki/NPC:Give)( [string](https://gmod.tr/wiki/string) weapon )

Zaten spawn olmuş bir NPC'ye silah vermek için kullanılır.

[boolean](https://gmod.tr/wiki/boolean) NPC:[HasCondition](https://gmod.tr/wiki/NPC:HasCondition)( [number](https://gmod.tr/wiki/number) condition )

NPC'nin verilen koşula sahip olup olmadığını döndürür.

[boolean](https://gmod.tr/wiki/boolean) NPC:[HasEnemyEluded](https://gmod.tr/wiki/NPC:HasEnemyEluded)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

Verilen varlığın bizden kaçıp kaçmadığını kontrol etmek için düşman hafızasını yoklar.

[boolean](https://gmod.tr/wiki/boolean) NPC:[HasEnemyMemory](https://gmod.tr/wiki/NPC:HasEnemyMemory)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

NPC'nin verilen düşman hakkında herhangi bir anısı olup olmadığını kontrol etmek için düşman hafızasını yoklar.

[boolean](https://gmod.tr/wiki/boolean) NPC:[HasObstacles](https://gmod.tr/wiki/NPC:HasObstacles)()

Mevcut navigasyonun bir engeli varsa true döndürür, bu NPC:GetBlockingEntity'den farklıdır, bu YZ'nin yerel navigasyon sistemi tarafından işaretli alana hareketi önlemek için konulan sanal navigasyon engelleri içindir, örneğin NPC'yi etrafından dolaşmaya zorlar.

NPC:[IdleSound](https://gmod.tr/wiki/NPC:IdleSound)()

Bir NPC'yi Boşta (Idle) sesini çalmaya zorlar.

NPC:[IgnoreEnemyUntil](https://gmod.tr/wiki/NPC:IgnoreEnemyUntil)( [Entity](https://gmod.tr/wiki/Entity) enemy, [number](https://gmod.tr/wiki/number) until )

NPC'nin verilen varlığı/düşmanı belirtilen zamana kadar görmezden gelmesini sağlar.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsCurrentSchedule](https://gmod.tr/wiki/NPC:IsCurrentSchedule)( [number](https://gmod.tr/wiki/number) schedule )

NPC'nin verilen programı gerçekleştirip gerçekleştirmediğini döndürür.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsCurWaypointGoal](https://gmod.tr/wiki/NPC:IsCurWaypointGoal)()

Mevcut navigasyon ara noktasının sonuncusu olup olmadığını döndürür.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsFacingIdealYaw](https://gmod.tr/wiki/NPC:IsFacingIdealYaw)()

NPC'nin ideal sapma açısına bakıp bakmadığını döndürür. Bkz. NPC:SetIdealYaw, NPC:GetIdealYaw ve NPC:SetIdealYawAndUpdate.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsGoalActive](https://gmod.tr/wiki/NPC:IsGoalActive)()

NPC'nin aktif bir hedefi olup olmadığını döndürür.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsInViewCone](https://gmod.tr/wiki/NPC:IsInViewCone)( [Vector](https://gmod.tr/wiki/Vector) position ) (+ 1 aşırı yükleme)

Bir konumun veya bir NPC'nin, NPC'nin görüş konisi içinde olup olmadığını test eder.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsMoveYawLocked](https://gmod.tr/wiki/NPC:IsMoveYawLocked)()

Mevcut hareketin Sapma (Yaw) ekseninde kilitli olup olmadığını döndürür.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsMoving](https://gmod.tr/wiki/NPC:IsMoving)()

NPC'nin hareket edip etmediğini döndürür.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsRunningBehavior](https://gmod.tr/wiki/NPC:IsRunningBehavior)()

NPC'nin bir ai_goal çalıştırıp çalıştırmadığını kontrol eder. (ör. Oyuncuyu takip eden bir npc_citizen NPC.)

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsSquadLeader](https://gmod.tr/wiki/NPC:IsSquadLeader)()

Mevcut NPC'nin içinde bulunduğu takımın lideri olup olmadığını döndürür.

[boolean](https://gmod.tr/wiki/boolean) NPC:[IsUnreachable](https://gmod.tr/wiki/NPC:IsUnreachable)( [Entity](https://gmod.tr/wiki/Entity) testEntity )

Varlığın ulaşılamaz olarak hatırlandığı durumda true döndürür. Hafıza, aşağıdaki motor görevleri başarısız olursa otomatik olarak güncellenir: TASK_GET_CHASE_PATH_TO_ENEMY TASK_GET_PATH_TO_ENEMY_LKP TASK_GET_PATH_TO_INTERACTION_PARTNER TASK_ANTLIONGUARD_GET_CHASE_PATH_ENEMY_TOLERANCE SCHED_FAIL_ESTABLISH_LINE_OF_FIRE - Combine NPC'leri, ayrıca düşmanlarını değiştirmede başarısız olduklarında

NPC:[LostEnemySound](https://gmod.tr/wiki/NPC:LostEnemySound)()

Bir NPC'yi Düşman Kaybedildi (LostEnemy) sesini çalmaya zorlar.

NPC:[MaintainActivity](https://gmod.tr/wiki/NPC:MaintainActivity)()

İdeal animasyon durumumuza ulaşmaya çalışır, oraya ulaşmak için oynamamız gereken geçiş sekanslarını oynatır.

NPC:[MarkEnemyAsEluded](https://gmod.tr/wiki/NPC:MarkEnemyAsEluded)( [Entity](https://gmod.tr/wiki/Entity) enemy = GetEnemy() )

NPC'nin mevcut düşmanı geçici olarak unutmasına ve daha iyi birine geçmesine neden olur.

NPC:[MarkTookDamageFromEnemy](https://gmod.tr/wiki/NPC:MarkTookDamageFromEnemy)( [Entity](https://gmod.tr/wiki/Entity) enemy = nil )

NPC'yi verilen varlıktan hasar almış olarak işaretler. Ayrıca bkz. NPC:GetLastTimeTookDamageFromEnemy.

[number](https://gmod.tr/wiki/number) NPC:[MoveClimbExec](https://gmod.tr/wiki/NPC:MoveClimbExec)( [Vector](https://gmod.tr/wiki/Vector) destination, [Vector](https://gmod.tr/wiki/Vector) dir, [number](https://gmod.tr/wiki/number) distance, [number](https://gmod.tr/wiki/number) yaw, [number](https://gmod.tr/wiki/number) left )

Bir tırmanma hareketini yürütür. İlgili fonksiyonlar NPC:MoveClimbStart ve NPC:MoveClimbStop'tur.

NPC:[MoveClimbStart](https://gmod.tr/wiki/NPC:MoveClimbStart)( [Vector](https://gmod.tr/wiki/Vector) destination, [Vector](https://gmod.tr/wiki/Vector) dir, [number](https://gmod.tr/wiki/number) distance, [number](https://gmod.tr/wiki/number) yaw )

Bir tırmanma hareketini başlatır. İlgili fonksiyonlar NPC:MoveClimbExec ve NPC:MoveClimbStop'tur.

NPC:[MoveClimbStop](https://gmod.tr/wiki/NPC:MoveClimbStop)()

Bir tırmanma hareketini durdurur. İlgili fonksiyonlar NPC:MoveClimbExec ve NPC:MoveClimbStart'tır.

[number](https://gmod.tr/wiki/number) NPC:[MoveJumpExec](https://gmod.tr/wiki/NPC:MoveJumpExec)()

Bir zıplama hareketini yürütür. İlgili fonksiyonlar NPC:MoveJumpStart ve NPC:MoveJumpStop'tur.

NPC:[MoveJumpStart](https://gmod.tr/wiki/NPC:MoveJumpStart)( [Vector](https://gmod.tr/wiki/Vector) vel )

Bir zıplama hareketini başlatır. İlgili fonksiyonlar NPC:MoveJumpExec ve NPC:MoveJumpStop'tur.

[number](https://gmod.tr/wiki/number) NPC:[MoveJumpStop](https://gmod.tr/wiki/NPC:MoveJumpStop)()

Bir zıplama hareketini durdurur. İlgili fonksiyonlar NPC:MoveJumpExec ve NPC:MoveJumpStart'tır.

NPC:[MoveOrder](https://gmod.tr/wiki/NPC:MoveOrder)( [Vector](https://gmod.tr/wiki/Vector) position )

NPC'nin verilen konuma doğru yürümesini sağlar. NPC, player_squad_autosummon_time ConVar'ı tarafından belirlenen süre sonunda oyuncuya geri dönecektir. Sadece Vatandaşlar (npc_citizen) üzerinde çalışır ve Half-Life 2 takım sisteminin bir parçasıdır. Bunun çalışması için NPC'nin oyuncunun takımında olması gerekir.

NPC:[MovePause](https://gmod.tr/wiki/NPC:MovePause)()

NPC hareketini duraklatır mı? İlgili fonksiyonlar NPC:MoveStart, NPC:MoveStop ve NPC:ResetMoveCalc'tır.

NPC:[MoveStart](https://gmod.tr/wiki/NPC:MoveStart)()

NPC hareketini başlatır mı? İlgili fonksiyonlar NPC:MoveStop, NPC:MovePause ve NPC:ResetMoveCalc'tır.

NPC:[MoveStop](https://gmod.tr/wiki/NPC:MoveStop)()

NPC hareketini durdurur mu? İlgili fonksiyonlar NPC:MoveStart, NPC:MovePause ve NPC:ResetMoveCalc'tır.

[boolean](https://gmod.tr/wiki/boolean) NPC:[NavSetGoal](https://gmod.tr/wiki/NPC.NavSetGoal)( [Vector](https://gmod.tr/wiki/Vector) pos, [number](https://gmod.tr/wiki/number) length, [Vector](https://gmod.tr/wiki/Vector) dir )

NPC:NavSetRandomGoal'a benzer şekilde çalışır.

[boolean](https://gmod.tr/wiki/boolean) NPC:[NavSetGoalPos](https://gmod.tr/wiki/NPC:NavSetGoalPos)( [Vector](https://gmod.tr/wiki/Vector) pos )

Verilen konumdaki en yakın node'a bir yol oluşturur. Bu, NPC'yi gerçekten hareket etmeye zorlamaz. Bu, mevcut program ve görev için ya NPC:TaskComplete'i ya da NPC:TaskFail'i çağırır, bu da mevcut görevin bir sonraki göreve ilerlemesini veya başarısız olmasını zorlar. Ayrıca bkz. NPC:NavSetRandomGoal.

[boolean](https://gmod.tr/wiki/boolean) NPC:[NavSetGoalTarget](https://gmod.tr/wiki/NPC:NavSetGoalTarget)( [Entity](https://gmod.tr/wiki/Entity) target, [Vector](https://gmod.tr/wiki/Vector) offset = Vector( 0, 0, 0 ) )

Bir NPC için hedef amacını ayarlar. Bu, mevcut program ve görev için ya NPC:TaskComplete'i ya da NPC:TaskFail'i çağırır, bu da mevcut görevin bir sonraki göreve ilerlemesini veya başarısız olmasını zorlar.

[boolean](https://gmod.tr/wiki/boolean) NPC:[NavSetRandomGoal](https://gmod.tr/wiki/NPC:NavSetRandomGoal)( [number](https://gmod.tr/wiki/number) minPathLength, [Vector](https://gmod.tr/wiki/Vector) dir )

En yakın başlangıç node'u ile belirtilen yöndeki rastgele bir node arasında belirtilen minimum uzunlukta rastgele bir yol oluşturur. Bu, NPC'yi gerçekten hareket etmeye zorlamaz.

[boolean](https://gmod.tr/wiki/boolean) NPC:[NavSetWanderGoal](https://gmod.tr/wiki/NPC:NavSetWanderGoal)( [number](https://gmod.tr/wiki/number) xOffset, [number](https://gmod.tr/wiki/number) yOffset )

NPC'nin gezinmesi için x, y ofsetlerinde bir hedef belirler.

[boolean](https://gmod.tr/wiki/boolean) NPC:[PickupWeapon](https://gmod.tr/wiki/NPC:PickupWeapon)( [Weapon](https://gmod.tr/wiki/Weapon) wep )

NPC'yi mevcut bir silah varlığını almaya zorlar. NPC, verilen türde bir silaha zaten sahipse veya normalde bu silahı envanterinde bulunduramıyorsa silahı almaz.

[number](https://gmod.tr/wiki/number) NPC:[PlaySentence](https://gmod.tr/wiki/NPC:PlaySentence)( [string](https://gmod.tr/wiki/string) sentence, [number](https://gmod.tr/wiki/number) delay, [number](https://gmod.tr/wiki/number) volume )

NPC'yi scripts/sentences.txt dosyasından bir cümle oynatmaya zorlar.

NPC:[RememberUnreachable](https://gmod.tr/wiki/NPC:RememberUnreachable)( [Entity](https://gmod.tr/wiki/Entity) ent, [number](https://gmod.tr/wiki/number) time = 3 )

NPC'nin bir varlığı veya düşmanı belirtilen bir süre boyunca ulaşılamaz olarak hatırlamasını sağlar. Bir varlığın hala ulaşılamaz olup olmadığını kontrol etmek için NPC:IsUnreachable kullanın.

NPC:[RemoveIgnoreConditions](https://gmod.tr/wiki/NPC:RemoveIgnoreConditions)( [table](https://gmod.tr/wiki/table) conditions = nil )

Bu NPC için yok sayılacak koşulları kaldırır.

NPC:[ResetIdealActivity](https://gmod.tr/wiki/NPC:ResetIdealActivity)( [number](https://gmod.tr/wiki/number) act )

NPC'nin ideal aktivitesini sıfırlar. Ayrıca bkz. NPC:SetIdealActivity.

NPC:[ResetMoveCalc](https://gmod.tr/wiki/NPC:ResetMoveCalc)()

Tüm hareket hesaplamalarını sıfırlar. İlgili fonksiyonlar NPC:MoveStart, NPC:MovePause ve NPC:MoveStop'tur.

NPC:[RunEngineTask](https://gmod.tr/wiki/NPC:RunEngineTask)( [number](https://gmod.tr/wiki/number) taskID, [number](https://gmod.tr/wiki/number) taskData )

Bir motor görevi başlatır. ai_task tarafından dahili olarak kullanılır.

NPC:[SelectWeapon](https://gmod.tr/wiki/NPC:SelectWeapon)( [string](https://gmod.tr/wiki/string) class )

NPC'yi sahip olduğu belirli bir silaha geçmeye zorlar. Bkz. NPC:GetWeapons.

NPC:[SentenceStop](https://gmod.tr/wiki/NPC:SentenceStop)()

NPC'nin o anda çaldığı tüm sesleri (konuşma) durdurur. Entity:EmitSound( "AI_BaseNPC. SentenceStop" ) ile eşdeğerdir.

NPC:[SetActivity](https://gmod.tr/wiki/NPC:SetActivity)( [number](https://gmod.tr/wiki/number) act )

NPC'nin mevcut aktivitesini ayarlar.

NPC:[SetArrivalActivity](https://gmod.tr/wiki/NPC:SetArrivalActivity)( [number](https://gmod.tr/wiki/number) act )

NPC:[SetArrivalDirection](https://gmod.tr/wiki/NPC:SetArrivalDirection)( [Vector](https://gmod.tr/wiki/Vector) dir )

NPC'nin başlangıç noktasından mevcut navigasyon hedefine olan yönü ayarlar.

NPC:[SetArrivalDistance](https://gmod.tr/wiki/NPC:SetArrivalDistance)( [number](https://gmod.tr/wiki/number) dist )

NPC'nin hareket etmeyi bırakıp bir programdaki görevlerinin geri kalanını yapmak gibi diğer işlere devam etmesi gereken hedefe olan mesafeyi ayarlar.

NPC:[SetArrivalSequence](https://gmod.tr/wiki/NPC:SetArrivalSequence)( [number](https://gmod.tr/wiki/number) seq )

NPC hedefine vardığında oynatılacak sekansı ayarlar.

NPC:[SetArrivalSpeed](https://gmod.tr/wiki/NPC:SetArrivalSpeed)( [number](https://gmod.tr/wiki/number) speed )

NPC'nin varış hızını (?) ayarlar.

NPC:[SetCondition](https://gmod.tr/wiki/NPC:SetCondition)( [number](https://gmod.tr/wiki/number) condition )

Bir NPC koşulunu ayarlar.

NPC:[SetCurrentWeaponProficiency](https://gmod.tr/wiki/NPC:SetCurrentWeaponProficiency)( [number](https://gmod.tr/wiki/number) proficiency )

Bir NPC'nin silah yetkinliğini (bir NPC'nin mevcut silahıyla ne kadar yetenekli olduğunu) ayarlar.

NPC:[SetEnemy](https://gmod.tr/wiki/NPC:SetEnemy)( [Entity](https://gmod.tr/wiki/Entity) enemy, [boolean](https://gmod.tr/wiki/boolean) newenemy = true )

Bir NPC için hedef belirler.

[number](https://gmod.tr/wiki/number) NPC:[SetExpression](https://gmod.tr/wiki/NPC:SetExpression)( [string](https://gmod.tr/wiki/string) expression )

NPC'nin .vcd ifadesini ayarlar. Entity:PlayScene'e benzer, ancak sahne varsayılan NPC davranışı veya NPC:ClearExpression tarafından kesilene kadar döngüye girer.

NPC:[SetFOV](https://gmod.tr/wiki/NPC:SetFOV)( [number](https://gmod.tr/wiki/number) fov )

NPC'nin Görüş Alanını (Field Of View), NPC:IsInViewCone gibi fonksiyonlarla kullanılmak üzere ayarlar. Ayrıca NPC tarafından düşman tespiti vb. için dahili olarak kullanılır.

NPC:[SetHullSizeNormal](https://gmod.tr/wiki/NPC:SetHullSizeNormal)()

NPC'nin gövdesini ve fizik gövdesini model ölçeğiyle eşleşecek şekilde günceller. Entity:SetModelScale bu durumu ne olursa olsun halleder gibi görünüyor.

NPC:[SetHullType](https://gmod.tr/wiki/NPC:SetHullType)( [number](https://gmod.tr/wiki/number) hullType )

NPC için gövde türünü ayarlar.

NPC:[SetIdealActivity](https://gmod.tr/wiki/NPC:SetIdealActivity)( [number](https://gmod.tr/wiki/number) )

NPC'nin o anda başarmak istediği ideal aktiviteyi ayarlar. Bu, özel SNPC'ler için en kullanışlısıdır.

NPC:[SetIdealSequence](https://gmod.tr/wiki/NPC:SetIdealSequence)( [number](https://gmod.tr/wiki/number) sequenceId )

NPC'nin o anda başarmak istediği ideal sekansı ayarlar. Bu, özel SNPC'ler için en kullanışlısıdır.

NPC:[SetIdealYaw](https://gmod.tr/wiki/NPC:SetIdealYaw)( [number](https://gmod.tr/wiki/number) angle )

NPC için ideal sapma açısını (sol-sağ dönüş) ayarlar. NPC'yi o yöne dönmeye gerçekten zorlamaz. Bkz. NPC:UpdateYaw, NPC:GetIdealYaw ve NPC:SetIdealYawAndUpdate.

NPC:[SetIdealYawAndUpdate](https://gmod.tr/wiki/NPC:SetIdealYawAndUpdate)( [number](https://gmod.tr/wiki/number) angle, [number](https://gmod.tr/wiki/number) speed = -1 )

NPC için ideal sapma açısını (sol-sağ dönüş) ayarlar ve onları o açıya dönmeye zorlar.

NPC:[SetIgnoreConditions](https://gmod.tr/wiki/NPC:SetIgnoreConditions)( [table](https://gmod.tr/wiki/table) conditions, [number](https://gmod.tr/wiki/number) size )

Normalde Motor tabanlı bir programı kesintiye uğratacak olan, yok sayılacak koşulları ayarlar. Belirtilen koşullar yine de ayarlanır, ENTITY:OnCondition'ı çağırır ve NPC:HasCondition tarafından döndürülebilir, ancak artık Motor programını kesintiye uğratmazlar.

NPC:[SetLastPosition](https://gmod.tr/wiki/NPC:SetLastPosition)( [Vector](https://gmod.tr/wiki/Vector) position )

Bu NPC için en son kaydedilen veya hafızaya alınan konumu ayarlar. Programlama kullanırken, NPC nod'lar aracılığıyla son konuma gitmeye odaklanacaktır. Navigasyonun düzgün çalışması için zemin nod'larına (ground nodes) ihtiyacı vardır, aksi takdirde NPC yalnızca küçük bir alanda gezinebilir. (https://developer. valvesoftware. com/wiki/Info_node)

NPC:[SetMaxLookDistance](https://gmod.tr/wiki/NPC:SetMaxLookDistance)( [number](https://gmod.tr/wiki/number) dist )

NPC'nin maksimum görüş mesafesini ayarlar. Bir NPC, bu mesafenin dışındaki düşmanları göremez.

NPC:[SetMaxRouteRebuildTime](https://gmod.tr/wiki/NPC:SetMaxRouteRebuildTime)( [number](https://gmod.tr/wiki/number) time )

Görevi başarısız kılmadan önce yolu yeniden oluşturmayı ne kadar süre deneyeceğini ayarlar.

NPC:[SetMoveDelay](https://gmod.tr/wiki/NPC:SetMoveDelay)( [number](https://gmod.tr/wiki/number) delay )

Verilen NPC için hareket gecikmesini ayarlar. Bkz. NPC:GetMoveDelay.

NPC:[SetMoveInterval](https://gmod.tr/wiki/NPC:SetMoveInterval)( [number](https://gmod.tr/wiki/number) time )

Dahili NPC motorunun çalıştığı zaman adımını ayarlar.

NPC:[SetMovementActivity](https://gmod.tr/wiki/NPC:SetMovementActivity)( [number](https://gmod.tr/wiki/number) activity )

NPC'nin hareket ettiğinde kullandığı aktiviteyi ayarlar.

NPC:[SetMovementSequence](https://gmod.tr/wiki/NPC:SetMovementSequence)( [number](https://gmod.tr/wiki/number) sequenceId )

NPC navigasyon yolunun hız hesaplaması için kullandığı sekansı ayarlar. NPC hareketinde gözle görülür bir etkisi yok gibi görünüyor.

NPC:[SetMoveVelocity](https://gmod.tr/wiki/NPC:SetMoveVelocity)( [Vector](https://gmod.tr/wiki/Vector) vel )

NPC'nin hareket hızını ayarlar.

NPC:[SetMoveYawLocked](https://gmod.tr/wiki/NPC:SetMoveYawLocked)( [boolean](https://gmod.tr/wiki/boolean) lock )

Mevcut hareketin Sapma (Yaw) ekseninde kilitli olup olmayacağını ayarlar.

NPC:[SetNavType](https://gmod.tr/wiki/NPC:SetNavType)( [number](https://gmod.tr/wiki/number) navtype )

NPC'nin navigasyon türünü ayarlar.

NPC:[SetNPCState](https://gmod.tr/wiki/NPC:SetNPCState)( [number](https://gmod.tr/wiki/number) state )

NPC'nin ideal bir programa karar vermesine yardımcı olmak için içinde bulunduğu durumu ayarlar.

NPC:[SetSchedule](https://gmod.tr/wiki/NPC:SetSchedule)( [number](https://gmod.tr/wiki/number) schedule )

NPC'nin mevcut programını ayarlar.

NPC:[SetSquad](https://gmod.tr/wiki/NPC:SetSquad)( [string](https://gmod.tr/wiki/string) name = nil )

NPC'yi yeni bir takıma atar. Bir takımda en fazla 16 NPC olabilir. Tek bir takımdaki NPC'ler birbirlerine dostça davranmalıdır. Ayrıca bkz. ai.GetSquadMembers ve NPC:GetSquad. Aynı takım içindeki NPC'lerin taktiksel olarak daha etkili çalışması amaçlanmıştır.

NPC:[SetStepHeight](https://gmod.tr/wiki/NPC:SetStepHeight)( [number](https://gmod.tr/wiki/number) height )

SNPC adım yüksekliğini ayarlar. Bu sadece betiklenmiş NPC'ler için çalışır.

NPC:[SetTarget](https://gmod.tr/wiki/NPC:SetTarget)( [Entity](https://gmod.tr/wiki/Entity) entity )

NPC'nin hedefini ayarlar. Bu, bazı motor programlarında kullanılır.

NPC:[SetTaskStatus](https://gmod.tr/wiki/NPC:SetTaskStatus)( [number](https://gmod.tr/wiki/number) status )

Mevcut görevin durumunu ayarlar.

NPC:[SetUnforgettable](https://gmod.tr/wiki/NPC:SetUnforgettable)( [Entity](https://gmod.tr/wiki/Entity) enemy, [boolean](https://gmod.tr/wiki/boolean) set = true )

Verilen varlığı unutulmaz bir düşman olarak ayarlar.

NPC:[SetViewOffset](https://gmod.tr/wiki/NPC:SetViewOffset)( [Vector](https://gmod.tr/wiki/Vector) )

NPC'nin görüş ofsetini ayarlar. Player:SetViewOffset'ın oyuncu alternatifidir. Bu, NPC'nin NPC:GetShootPos'unu etkiler.

NPC:[StartEngineTask](https://gmod.tr/wiki/NPC:StartEngineTask)( [number](https://gmod.tr/wiki/number) task, [number](https://gmod.tr/wiki/number) taskData )

NPC'yi bir motor görevi başlatmaya zorlar, bu her NPC için farklı sonuçlar verir.

NPC:[StopMoving](https://gmod.tr/wiki/NPC:StopMoving)( [boolean](https://gmod.tr/wiki/boolean) immediate = true )

NPC'nin hareket animasyonunu ve hızını sıfırlar. NPC'nin hareket etmesini gerçekten durdurmaz.

NPC:[TargetOrder](https://gmod.tr/wiki/NPC:TargetOrder)( [Entity](https://gmod.tr/wiki/Entity) target )

Temelde NPC:MoveOrder'ı iptal eder. Sadece Vatandaşlar (npc_citizen) üzerinde çalışır ve Half-Life 2 takım sisteminin bir parçasıdır. Bunun çalışması için NPC'nin oyuncunun takımında olması gerekir.

NPC:[TaskComplete](https://gmod.tr/wiki/NPC:TaskComplete)()

Mevcut NPC görevini tamamlanmış olarak işaretler. Bu, özel Lua tanımlı görevleri (Schedule:AddTask) tamamlamak veya başarısız kılmak için NPC:TaskFail ile birlikte kullanılmak üzere tasarlanmıştır.

NPC:[TaskFail](https://gmod.tr/wiki/NPC.TaskFail)( [string](https://gmod.tr/wiki/string) task )

Mevcut NPC görevini başarısız olarak işaretler. Bu, özel Lua tanımlı görevleri (Schedule:AddTask) tamamlamak veya başarısız kılmak için NPC:TaskComplete ile birlikte kullanılmak üzere tasarlanmıştır.

NPC:[UpdateEnemyMemory](https://gmod.tr/wiki/NPC:UpdateEnemyMemory)( [Entity](https://gmod.tr/wiki/Entity) enemy, [Vector](https://gmod.tr/wiki/Vector) pos )

NPC'yi, sanki görüş hattı varmış gibi, sağlanan düşman hakkındaki bilgileri güncellemeye zorlar.

NPC:[UpdateTurnActivity](https://gmod.tr/wiki/NPC:UpdateTurnActivity)()

Dönüş aktivitesini günceller. Temel olarak mevcut dönüş sapma açısına bağlı olarak dönüş animasyonlarını uygular.

NPC:[UpdateYaw](https://gmod.tr/wiki/NPC:UpdateYaw)( [number](https://gmod.tr/wiki/number) speed = -1 )

NPC'yi ideal sapma açısına dönmeye zorlar. Bkz. NPC:SetIdealYaw ve NPC:SetIdealYawAndUpdate.

[boolean](https://gmod.tr/wiki/boolean) NPC:[UseActBusyBehavior](https://gmod.tr/wiki/NPC:UseActBusyBehavior)()

Bu fonksiyon sadece ai türündeki SENT'ler üzerinde çalışır.

[boolean](https://gmod.tr/wiki/boolean) NPC:[UseAssaultBehavior](https://gmod.tr/wiki/NPC:UseAssaultBehavior)()

Bu fonksiyon sadece ai türündeki SENT'ler üzerinde çalışır.

[boolean](https://gmod.tr/wiki/boolean) NPC:[UseFollowBehavior](https://gmod.tr/wiki/NPC:UseFollowBehavior)()

Bu fonksiyon sadece ai türündeki SENT'ler üzerinde çalışır.

[boolean](https://gmod.tr/wiki/boolean) NPC:[UseFuncTankBehavior](https://gmod.tr/wiki/NPC:UseFuncTankBehavior)()

Bu fonksiyon sadece ai türündeki SENT'ler üzerinde çalışır.

[boolean](https://gmod.tr/wiki/boolean) NPC:[UseLeadBehavior](https://gmod.tr/wiki/NPC:UseLeadBehavior)()

Bu fonksiyon sadece ai türündeki SENT'ler üzerinde çalışır.

NPC:[UseNoBehavior](https://gmod.tr/wiki/NPC:UseNoBehavior)()

Diğer Use*Behavior fonksiyonlarının etkisini geri alır. Bu fonksiyon sadece ai türündeki SENT'ler üzerinde çalışır.

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/NPC
