# AddVertex

Objects
Vertices
5.1 OC
int
int x X coordinate, relative to the object center
int y Y coordinate, relative to the object center
Adds a new vertex to an object.
Notice: with any vertex updated caused by stretching or rotation of the object (e.g. building or growth) the vertices will be reset to their original defined position unless a special vertex mode is selected.
GetHiRank
(0)->AddVertex(0,50);
Makes the captain of the first player stick to the ground.
GetVertex
SetVertex
GetVertexNum
RemoveVertex
jwk
2002-04