Difference between revisions of "DeleteWhenAble - ObjectReference"
→Syntax
imported>Jbezorg m |
imported>Thingy Person (→Syntax) |
||
Line 9: | Line 9: | ||
<source lang="papyrus"> | <source lang="papyrus"> | ||
Function DeleteWhenAble() | Function DeleteWhenAble() | ||
While GetParentCell() && GetParentCell().IsAttached() | |||
Utility.Wait(5) | |||
EndWhile | |||
Delete() | |||
EndFunction | |||
</source> | </source> | ||