Vector
From Dragon Age Toolset Wiki
Revision as of 03:19, 27 July 2009 by BryanDerksen (Talk | contribs) (this is both a data type and a constructor, so adding the dafunction template)
Returns a new vector with the specified x,y and z values.
- Parameters:
- x
- x value for the vector
- y
- y value for the vector
- z
- z value for the vector
- Returns:
- A vector with the specified x, y and z values
- Source:
- script.ldf
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.
Note that this is not identical to the location data type, which contains additional information for placing objects in-world.