CreateThingAtPosNR


Creates a thing at a position. Unknown what the "NR" means, but there is no known difference from CreateThingAtPos(). If the template's model has an insert offset, then that offset will be added to the position. Syntax:

new_thing=CreateThingAtPosNR(template, sector, position, 'p y r');

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.

'p y r': This is the pitch, yaw, and roll for the created thing's orientation. You can use a vector variable or the 'p y r' form.