Difference between revisions of "TryToEnableNoWait - 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 TryToEnableNoWait() | bool Function TryToEnableNoWait() | ||
ObjectReference Ref = GetReference() | |||
if Ref | |||
Ref.EnableNoWait() | |||
Return True | |||
EndIf | |||
Return False | |||
EndFunction | |||
</source> | </source> | ||