How can I get Malak in my team?
I have found this text but I don't understand in which file
I write it.
Can somebody tell me the name of the file?
----------------------------------------------------------------------
And you can add totally diffrent NPCs to your group!
Some Screenshots:
Malak in your Team
Master Vandar with a Rifle
These aren't changed Playermodels. They are totally diffrent NPCs.
This is how to make it:
code:--------------------------------------------------------------------------------
object PlaceNPC(string sTag)
{
if(!GetIsObjectValid(GetObjectByTag(sTag)))
{
return CreateObject(OBJECT_TYPE_CREATURE,sTag,GetLocation
(GetObjectByTag("POST_" + sTag)));
}
else
{
return OBJECT_INVALID;
}
}
void AddCharToParty(string CharName, int Slot)
{
object oChar;
oChar = PlaceNPC(CharName);
AddAvailableNPCByObject(Slot, oChar);
AddPartyMember(Slot, oChar);
}
--------------------------------------------------------------------------------
- CharName is the Name of the NPC (like n_darthmalak or n_yoda)
- Slot is the Portrait Slot in your Party Selection Screen (0-8)
----
--------------------------------------------------------------------------------
please give me the answer!