Background for Starfield
Member of the ObjectReference script
boolfunctionTryToSetProtected(boolbSetProtected=true)

Description

Documentation Comment

Sets protected flag on actor or spaceship
returns FALSE if called on something else


Caveats


Parameters

boolbSetProtected=true


Examples

Auto-Generated Example

bool myBool__bSetProtected

bool returnedValue = myObjectReference__toCallFunctionOn.TryToSetProtected(myBool__bSetProtected)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.