Vector

From Dragon Age Toolset Wiki
Revision as of 21:54, 22 July 2009 by BryanDerksen (Talk | contribs)

Jump to: navigation, search

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.