i am in need of someones help i need to make a spawn script. but i am not sure how to do this i know that this is the code.
  code:
 void main ( )
 {
 float x=0.00f;
 float y=0.00f;
 float z=0.00f;
 vector vecNPC=Vector(x,y,z);
 location locNPC=Location(vecNPC, r);
 Object oNPC=CreateObject(OBJECT_TYPE_CREATURE,"npc_mkavar",locNPC);
 object opc=GetFirstpc( );
 AssignCommand(ONPC,ActionMoveToObject(oPC) );
 AssignCommand(ONPC,ActionStartConversation(oPC,"my_dlg") );
 }  
 and i have the follow information from the werami armband 
 info: 
 Beginning whereami output:
 Module: 204tel
 > -78.74314
 > 14.12152
 > -0.00000
 > Orientation: 286.98694
 > Bearing: -1.27432 
 Nearest Creature: Tag: ond_dip Distance: 12.606m
 Nearest Door: Tag: door_204sealed Distance: 16.162m
 Nearest Placeable: Tag: desk2 Distance: 0.298m
 Nearest Trigger: Tag: tr_medcall Distance: 5.381m
 Nearest Waypoint: Tag: mn_medical Distance: 6.522m
 End of whereami output
 ----------- 
 now i don't know were to put the following information if anyone knows please tell me so that i may procede. 
 thanks.    
 visite my website 
www.kotormods.tripod.com) :lurkblast