Difference between revisions of "GetStartingPos"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-Link to TES4 Construction Set Wiki +{{Incomplete}}\n\nLink to TES4 Construction Set Wiki)) |
imported>PoHa! (Copied info, used the template for functions) |
||
(2 intermediate revisions 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.1)]] | |||
[[Category:Movement Functions]] | [[Category:Movement Functions]] | ||
[[Category:Movement Functions (GECK 1.1)]] | |||
[[Category:Condition Functions]] | [[Category:Condition Functions]] | ||
[[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