class
NPCAgent
- 5 properties
- 1 function
Extends AgentBase IScriptable ISerializable
Properties
| Property | Type | Offset | |
|---|---|---|---|
unit | WeakHandle<ScriptedPuppet> | 0x20 | scripted |
hasBeenAttackedByPlayer | bool | 0x30 | scripted |
isQuestNPC | bool | 0x31 | scripted |
spawnedAsFallback | bool | 0x32 | scripted |
markedToBeDespawned | bool | 0x33 | scripted |
Functions
ent.EntityID TryGetAssignedVehicleId()RTTIre.Hooks.Place( "NPCAgent", "TryGetAssignedVehicleId;", (NPCAgent_TryGetAssignedVehicleId x) => { return re.Hooks.CallOriginal<re.msgpack.ent.EntityID>(); } ); [Msgpack.Gen] public readonly partial record struct NPCAgent_TryGetAssignedVehicleId( NPCAgent self );