1,482
edits
imported>Terra Nova2 m (Made note a little more clearer.) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
bool Function IsInInterior() | bool Function IsInInterior() | ||
Cell parentCell = GetParentCell() | Cell parentCell = GetParentCell() | ||
Return parentCell && parentCell.IsInterior() | Return parentCell && parentCell.IsInterior() | ||
EndFunction | EndFunction | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 20: | Line 20: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Is the box in an interior? | ; Is the box in an interior? | ||
if Box.IsInInterior() | if Box.IsInInterior() | ||
Debug.Trace("Box is inside!") | Debug.Trace("Box is inside!") | ||
endIf | endIf | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||