Difference between revisions of "GetStartingPos"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0))) |
imported>PoHa! (Copied info, used the template for functions) |
||
(One intermediate revision by one other user not shown) | |||
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]] | ||
[[Category:Functions (GECK 1. | [[Category:Functions (GECK 1.1)]] | ||
[[Category:Movement Functions]] | [[Category:Movement Functions]] | ||
[[Category:Movement Functions (GECK 1. | [[Category:Movement Functions (GECK 1.1)]] | ||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[Category:Condition Functions (GECK 1. | [[Category:Condition Functions (GECK 1.1)]] |
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