Jump to content

Home

Last question about spawning NPC's


DarthJebus05

Recommended Posts

void main() 
{ 
CreateObject(OBJECT_TYPE_CREATURE, "NPC_TAG", Location(Vector(x, y, z), [b]270.0[/b]));
}

The part in bold determines which way an object faces, North is 0.00, East is 90.00, South is 180.00 and West is 270.00. Obviously you can use any number between these to get a more detailed orientation.

 

--Stream

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...