1,482
edits
m (Convert source tags to syntaxhighlight) |
|||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
float Function GetPositionX() native | float Function GetPositionX() native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 17: | Line 17: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
Debug.Trace("The box has an x position of: " + box.GetPositionX()) | Debug.Trace("The box has an x position of: " + box.GetPositionX()) | ||
</ | </syntaxhighlight> | ||
< | <syntaxhighlight lang="papyrus"> | ||
; using the hardcoded property as a shortcut to this function | ; using the hardcoded property as a shortcut to this function | ||
Debug.Trace("The box has an x position of: " + box.X) | Debug.Trace("The box has an x position of: " + box.X) | ||
</ | </syntaxhighlight> | ||
== Notes == | == Notes == | ||