Difference between revisions of "SetPos"
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>BonzoFSP (Moved content from CS wiki. Remove CS link.) |
||
Line 1: | Line 1: | ||
{{ | {{Function | ||
|origin = GECK1 | |||
|summary = Changes the object's world-position along the specified axis (x, y, z). Position is a float. | |||
|referenceType = <nowiki>ObjectID</nowiki> | |||
|arguments = {{FunctionArgument | |||
|Name = axis | |||
}}{{FunctionArgument | |||
|Name = position | |||
|Type = float | |||
}} | |||
}} | |||
==Examples== | |||
myObjectRef.SetPos y 100.56 | |||
Moves the object to the y-axis position 100.56 | |||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Movement Functions]] | [[Category:Movement Functions]] |
Revision as of 16:50, 10 April 2009
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
Changes the object's world-position along the specified axis (x, y, z). Position is a float.
Syntax
ObjectID.SetPos axis position:float
Examples
myObjectRef.SetPos y 100.56
Moves the object to the y-axis position 100.56