Mod:Creation Kit/WouldBeStealing - Actor

Member of: Mod:Creation Kit/Actor Script

Checks if the taking of a ref would be stealing for this actor

Syntax
bool Function WouldBeStealing(ObjectReference akTarget) native

Parameters

 * akTarget: The target ref to be taken

Return Value
True if it would be stealing and false if qualifies as an owner

Examples
if (Player.WouldBeStealing(BaseBallGloveRef)) Debug.Trace("Bad player!") endIf
 * check if the player would be stealing a glove ref