Difference between revisions of "SetPos"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Cipscis
(Updated parameter information; Added "See Also")
imported>DewiMorgan
(→‎See Also: restored cs link)
Line 18: Line 18:
==See Also==
==See Also==
*[[GetPos]]
*[[GetPos]]
*Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/SetPos SetPos].


[[Category:Functions]]
[[Category:Functions]]
[[Category:Movement Functions]]
[[Category:Movement Functions]]

Revision as of 09:25, 13 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

[help]
ObjectID.SetPos axis:string{X, Y, Z} position:float

Examples

myObjectRef.SetPos y 100.56 

Moves the object to the y-axis position 100.56

See Also