SendStealingAlarm

From GECK
Jump to: navigation, search


A function added by the JohnnyGuitar NVSE Plugin.

Description

Sends an alarm to the owner of an item or a container reference as if it was stolen. If the actor is not being detected by the owner of an item, it will result in a karma loss.

When using a container reference, optional argument can be used for alternative behavior - when set to 1, function will first scan calling actor's inventory for items stolen from the container's owner and dispatch the alarm if any were found.

Syntax

[help]
thiefActor.SendStealingAlarm stolenItemOrContainer:refr scanInventory:int(0/1)

Example

Player.SendStealingAlarm itemRefr 

See Also