Well the thing is that i want to add a custom NPC to the Single Player Camp, but i have tried a lot of scripts and i dont get it to work.
I need him to be added to the party camp after i spoke with him, how can i do this? please help me
regards,
Guest_templarioseco_*
Guest_templarioseco_*
ID AreaListName Script int string string 10100001 cam100ar_camp_plains prc_lealion_camp_spawn 10100002 lot100ar_lothering prc_lealion_spawn
//const string TAL_STORAGE_CHEST_SPAWNED = "TAL_STORAGE_CHEST_SPAWNED";
const string TAL_IP_STORAGE_CHEST = "Lealion";
const resource TAL_RESOURCE_IP_STORAGE_CHEST = R"gen00fl_lealion.utc";
void main()
{
object oMainControlled = GetMainControlled();
object oChest = UT_GetNearestObjectByTag(oMainControlled, TAL_IP_STORAGE_CHEST);
//DisplayFloatyMessage(oMainControlled, "storage script working", FLOATY_MESSAGE, 16777215, 30.0);
if (!IsObjectValid(oChest))
{
location lSpawn = Location(GetArea(oMainControlled), Vector(322.119, 205.034, 1.22193), 0.0);
CreateObject(OBJECT_TYPE_CREATURE, TAL_RESOURCE_IP_STORAGE_CHEST, lSpawn);
//DisplayFloatyMessage(oMainControlled, "storage chest created", FLOATY_MESSAGE, 16777215, 30.0);
}
}
Guest_templarioseco_*