Jump to content

Home

My recruitment mod's recruit is invisible... help!


loderrr

Recommended Posts

Originally posted by HazardX

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:

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)

i have a qestion about recruitment mods i know thats not what your post was about but you recruited malak so i have a question. i followed the 10 step recruitment tutorial but when i went to test it, i recruited the guy but when i used him in my party he was invisible. do u have any idea why?
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...