Background for Fallout 4
Member of the ObjectReference script
ScenefunctionGetCurrentScene()Native

Description

Wiki Description

Obtains the Scene this reference is currently in, if any. If the reference isn't participating in a scene, it will return None.

Documentation Comment

Returns the scene this reference is currently in - if any


Caveats


Examples

; Did this object start in the tomb?
if MyReference.GetCurrentScene() == None
  Debug.Trace("This reference isn't in any scene at all")
endIf

Auto-Generated Example

Scene returnedValue = myObjectReference__toCallFunctionOn.GetCurrentScene()

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.