WouldBeStealing - Actor

Member of: Actor Script

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

SyntaxEdit

bool Function WouldBeStealing(ObjectReference akTarget) native

ParametersEdit

  • akTarget: The target ref to be taken

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit