Difference between revisions of "IsBoundGameObjectAvailable - ScriptObject"

Jump to navigation Jump to search
→‎Examples: Emphasized that the form must extend ScriptObject. ObjectReferences are not valid examples here.
imported>Plplecuyer
 
imported>Docclox
(→‎Examples: Emphasized that the form must extend ScriptObject. ObjectReferences are not valid examples here.)
Line 19: Line 19:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
; Make sure we have a reference to manipulate before we try to do so
; Make sure we have a ScriptObject to manipulate before we try to do so
if MyReference.IsBoundGameObjectAvailable()
if MyScriptObject.IsBoundGameObjectAvailable()
   ; Do cool stuff with MyReference here, as it is available to be manipulated
   ; Do cool stuff with MyScriptObject here, as it is available to be manipulated
endIf
endIf
</source>
</source>
Anonymous user

Navigation menu