Difference between revisions of "GetStartingPos"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>PoHa! (Copied info, used the template for functions) |
||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|CSWikiPage = GetStartingPos | |||
|origin = GECK1 | |||
|summary = Returns the original world position of the object on the selected axis (X, Y, or Z) in float. The returned position is the position the object was placed in the editor, not it's current game state. | |||
|name = GetStartingPos | |||
|returnType = float | |||
|referenceType = [Object] | |||
|arguments = | |||
{{FunctionArgument | |||
|Name = axis | |||
|Value = x, y, z | |||
}} | |||
|example = <pre>ShackDoor.GetStartingPos z</pre> | |||
This will return the shack door's original z position | |||
}} | |||
==Notes== | |||
None | |||
==See Also== | |||
*[[GetPos]] | |||
*[[GetStartingAngle]] | |||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 21:19, 7 February 2010
< [[::Category:Functions|Category:Functions]]
Link to TES4 Construction Set Wiki: GetStartingPos.
A function included in the GECK version 1.1.0.36.
Description
Returns the original world position of the object on the selected axis (X, Y, or Z) in float. The returned position is the position the object was placed in the editor, not it's current game state.
Syntax
(float) [Object].GetStartingPos axis{x, y, z}
Example
ShackDoor.GetStartingPos z
This will return the shack door's original z position
Notes
None