EN4_PRC8/_module/nss/rd_test.nss

21 lines
460 B
Plaintext
Raw Normal View History

#include "rd_treasure"
#include "rd_level"
void main()
{
location lLoc;
object oNPC;
object oItem;
lLoc = GetLocation(GetObjectByTag("rp1_test"));
oNPC = CreateObject(OBJECT_TYPE_CREATURE,"en3_bandit_r_1",lLoc);
LevelMob(oNPC,20);
EquipMob(oNPC);
SendMessageToPC(GetFirstPC(),"Spawned");
//oItem = CreateItemOnObject("en3_ssword1",oNPC);
//DelayCommand(0.5f,AssignCommand(oNPC,ActionEquipItem(oItem,INVENTORY_SLOT_LEFTHAND)));
//rp1_test
//en3_bandit_r_1
}