Difference between revisions of "Vector"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) (Created page with ''''vector''' is a basic data type in Dragon Age's scripting language. It is a series of floats that define an X, Y, Z coordinate in a map. <dascript> float vVector = Vec...') |
BryanDerksen (Talk | contribs) |
||
Line 1: | Line 1: | ||
'''vector''' is a basic data type in Dragon Age's scripting language. It is a series of [[float]]s that define an X, Y, Z coordinate in a map. | '''vector''' is a basic data type in Dragon Age's scripting language. It is a series of [[float]]s that define an X, Y, Z coordinate in a map. | ||
+ | Example declaration: | ||
<dascript> | <dascript> | ||
− | + | vector vVector = Vector(0.0f, 1.1f, 2.2f); | |
</dascript> | </dascript> | ||
+ | |||
+ | Note that this is not identical to the [[location]] data type, which contains additional information for placing objects in-world. |
Revision as of 21:54, 22 July 2009
vector is a basic data type in Dragon Age's scripting language. It is a series of floats that define an X, Y, Z coordinate in a map.
Example declaration:
Note that this is not identical to the location data type, which contains additional information for placing objects in-world.