View Single Post
Old 07-20-2010, 05:29 PM   #3
Canaan Sadow
Junior Member
 
Canaan Sadow's Avatar
 
Join Date: Jul 2010
Location: Endor
Posts: 366
Current Game: Pokemon & K2
Code:
void main()
{
CreateObject(OBJECT_TYPE_CREATURE, "creature_templateresref", Location(Vector(0.00,0.00,0.00), 0.0)); 
}
You'll have to do a Where Am I cheat to get the x,y,z coordinates, which go in the spots labelled 0.00 (in alphabetical order so x goes in the first 0.00, y goes in the second and z goes in the third).

:edit:
And you can attach that script to dialogue to spawn the NPC or you could put the NPC there through the module file (though I'm not sure how to do the latter).
Canaan Sadow is offline   you may: quote & reply,