- Found in:
- Vanilla
[DEV SERVER] Loading description...
Caveats
Parameters
ObjectReferenceaLockedRef
Examples
; Creates a key to BobsDoorRef and puts it in BobRef's inventory if BobRef doesn't already have that key in his inventory.
BobRef.AddKeyIfNeeded(BobsDoorRef)Auto-Generated Example
ObjectReference myObjectReference__aLockedRef
myObjectReference__toCallFunctionOn.AddKeyIfNeeded(myObjectReference__aLockedRef)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
