Background for Fallout 4
Member of the Actor script
boolfunctionWouldBeStealing(ObjectReferenceakObject)Native

Description

Wiki Description

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

Documentation Comment

Returns if actor is stealing taking a ref


Caveats


Parameters

ObjectReferenceakObject

CK Wiki Description

The target ref to be taken


Examples

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

Auto-Generated Example

ObjectReference myObjectReference__akObject

bool returnedValue = myActor__toCallFunctionOn.WouldBeStealing(myObjectReference__akObject)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.