Difference between revisions of "SetPos"

From the Fallout3 GECK Wiki
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:
{{Incomplete}}
{{Function
 
|origin = GECK1
Link to TES4 Construction Set Wiki: [http://cs.elderscrolls.com/constwiki/index.php/SetPos SetPos].
|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

[help]
ObjectID.SetPos axis position:float

Examples

myObjectRef.SetPos y 100.56 

Moves the object to the y-axis position 100.56