ReactionSystem
classnative name AIReactionSystemnative
extends IReactionSystem › IGameSystem › IScriptable › ISerializable
Methods 15
native func AddFearSource(sourcePos: Vector3, halfExtend: Float, opt debugInfo: CName)
native func AddTrafficRunnersDirectly(runner: ref<GameObject>, threat: ref<GameObject>) -> Bool
native func IsInImmovableWorkspot(npcId: EntityID) -> Bool
native func IsRegisteredAsAggressive(npcId: EntityID) -> Bool
native func MarkDeadBody(id: EntityID, isAggressive: Bool, isInScene: Bool)
native func MarkDespawnCandidate(id: EntityID)
native func RegisterFearReaction(npc: ref<GameObject>, threat: ref<GameObject>)
native func RegisterReaction(reaction: CName) -> AIReactionCountOutcome
native func TryAndJoinTraffic(npc: ref<GameObject>, threatPos: Vector3, shouldRunInTraffic: Bool) -> Bool
native func TryRegisteringAggressiveNPC(civilianNPC: ref<GameObject>, checkPlayerLos: Bool) -> Bool
native func TryUnregisteringAggressiveNPC(npcId: EntityID) -> Bool
native func UnmarkDespawnCandidate(id: EntityID)
native func UnregisterFearReaction(runner: ref<GameObject>)
native func UnregisterReaction(reaction: CName) -> AIReactionCountOutcome
native func UsesLoreAnimationWorkspot(npcId: EntityID) -> Bool