CreateThingAtPos


Creates a thing at a position. Syntax:

new_thing=CreateThingAtPos(template, sector, position, lvec);

sector: It is important to give the thing the correct sector to avoid sector problems. Use the Position's Sector code from the Tutorial Section if you cannot get the sector.

position: This is the world coordinate position to create the thing at.

lvec: The is the lookvector for the created thing. It can be given as a vector variable or in the 'x y z' form.