Difference between revisions of "TryToReset - ReferenceAlias"
Jump to navigation
Jump to search
→Syntax
imported>Jlundin |
imported>Thingy Person (→Syntax) |
||
Line 8: | Line 8: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
bool Function TryToReset() | bool Function TryToReset() | ||
ObjectReference Ref = GetReference() | |||
if Ref | |||
Ref.Reset() | |||
Return True | |||
EndIf | |||
Return False | |||
EndFunction | |||
</source> | </source> | ||