NPCs
You can spawn following npcs. Each npc has it's own display name, it's immortal and can be equipped with stuff.
TYPES
CRDTN_SurvivorM_Mirek
CRDTN_SurvivorM_Boris
CRDTN_SurvivorM_Cyril
CRDTN_SurvivorM_Denis
CRDTN_SurvivorM_Elias
CRDTN_SurvivorM_Francis
CRDTN_SurvivorM_Guo
CRDTN_SurvivorM_Hassan
CRDTN_SurvivorM_Indar
CRDTN_SurvivorM_Jose
CRDTN_SurvivorM_Kaito
CRDTN_SurvivorM_Lewis
CRDTN_SurvivorM_Manua
CRDTN_SurvivorM_Niki
CRDTN_SurvivorM_Oliver
CRDTN_SurvivorM_Peter
CRDTN_SurvivorM_Quinn
CRDTN_SurvivorM_Rolf
CRDTN_SurvivorM_Seth
CRDTN_SurvivorM_Taiki
CRDTN_SurvivorF_Eva
CRDTN_SurvivorF_Frida
CRDTN_SurvivorF_Gabi
CRDTN_SurvivorF_Helga
CRDTN_SurvivorF_Irena
CRDTN_SurvivorF_Judy
CRDTN_SurvivorF_Keiko
CRDTN_SurvivorF_Linda
CRDTN_SurvivorF_Maria
CRDTN_SurvivorF_Naomi
CRDTN_SurvivorF_Baty
SPAWNING
EntityAI npc = EntityAI.Cast(GetGame().CreateObject("CRDTN_SurvivorF_Linda", "0 0 0", false, true));
autoptr TStringArray equipment = {"MilitaryBoots_Bluerock","WoolGloves_Green","Spur_CamelBag_Green","NBCPantsGray"};
if (equipment.Count() > 0)
{
for (int i = 0; i < equipment.Count(); i++)
{
ent.GetInventory().CreateAttachment(equipment.Get(i));
}
}
// Equip the weapon
CRDTN_NPCSurvivorBase crdtn_survivor = CRDTN_NPCSurvivorBase.Cast(ent);
if(!crdtn_survivor)
{
return;
}
if(fromTypeOnly)
{
crdtn_survivor.EquipInHands("WEAPON CLASSNAME");
}
Last updated