Difference between revisions of "Vector"

From Dragon Age Toolset Wiki
Jump to: navigation, search
Line 7: Line 7:
  
 
Note that this is not identical to the [[location]] data type, which contains additional information for placing objects in-world.
 
Note that this is not identical to the [[location]] data type, which contains additional information for placing objects in-world.
 +
 +
[[Category:Data types]]

Revision as of 21:40, 26 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:

    vector vVector = Vector(0.0f, 1.1f, 2.2f);

Note that this is not identical to the location data type, which contains additional information for placing objects in-world.