Difference between revisions of "TryToDisable - ReferenceAlias"
Jump to navigation
Jump to search
→Syntax
imported>Scornett m (Reverted edits by Scornett-Bot (talk) to last revision by Jlundin) |
imported>Thingy Person (→Syntax) |
||
Line 9: | Line 9: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
bool Function TryToDisable() | bool Function TryToDisable() | ||
ObjectReference Ref = GetReference() | |||
if Ref | |||
Ref.Disable() | |||
Return True | |||
EndIf | |||
Return False | |||
EndFunction | |||
</source> | </source> | ||