Detection - powerof3/PapyrusExtenderSSE GitHub Wiki

Getters

CanActorBeDetected

State Description
0 Can't be detected
1 Normal
2 Will always be detected
  • Returns whether other NPCs can detect this actor.
Int Function CanActorBeDetected(Actor akActor) global native

CanActorDetect

State Description
0 Can never detect others
1 Normal
2 Will always detect others
  • Returns whether this actor can detect other NPCs.
Int Function CanActorDetect(Actor akActor) global native

IsDetectedByAnyone

  • Returns whether this actor is currently detected by other NPCs
  • Ignores NPCs with DoNotShowOnStealthMeter flag
Bool Function IsDetectedByAnyone(Actor akActor) global native

Setters

ForceActorDetection

  • Force this actor to be always detected by other NPCs
Function ForceActorDetection(Actor akActor) global native

ForceActorDetecting

  • Force this actor to always detect their targets
Function ForceActorDetecting(Actor akActor) global native

PreventActorDetection

  • Prevent this actor from being detected by other NPCs (actor is hidden).
Function PreventActorDetection(Actor akActor) global native

PreventActorDetecting

  • Prevent this actor from detecting other NPCs (actor is blind)
Function PreventActorDetecting(Actor akActor) global native

ResetActorDetection

  • Resets detection state
Function ResetActorDetection(Actor akActor) global native

ResetActorDetecting

  • Resets detecting state
Function ResetActorDetecting(Actor akActor) global native