Difference between revisions of "IsBoundGameObjectAvailable - ScriptObject"

m
The example is wrong - it's a ScriptObject not an ObjectReference.
imported>Docclox
m (Undo revision 6004 by Threedee (talk))
imported>Docclox
m (The example is wrong - it's a ScriptObject not an ObjectReference.)
Line 20: Line 20:
<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 reference 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 MyReference here, as it is available to be manipulated
endIf
endIf
Anonymous user