StefanRode Posted February 2, 2004 Share Posted February 2, 2004 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! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.