GeorgNihilus Posted January 1, 2008 Share Posted January 1, 2008 Hi people, happy year well I'm trying to check if Mira is in the active party and in her dancer outfit ... the script I'm using is this: //:: c_miradancerp /* This script 'should' check Mira is in her dancer outfit AND in the active party */ //:: Created By: -- int StartingConditional() { string sShirtTag = GetScriptStringParameter(); object oMira = GetObjectByTag("Mira"); object oWearingThis=GetItemInSlot(INVENTORY_SLOT_BODY, oMira); string sWearingThis; int ix=-1; int mp; mp= (IsNPCPartyMember(NPC_MIRA) == TRUE) && (GetDistanceBetween(GetPCSpeaker(), GetObjectByTag("Mira")) <= 10.0); if (!GetIsObjectValid(oWearingThis)) { sWearingThis=GetTag(oWearingThis); ix=FindSubString(sWearingThis, "g_dan"); if (ix==-1 && mp==1) { return TRUE; } } return FALSE; } it is compiling fine but it's probably giving FALSE cause it's doing nothing ... I need this check (of Mira with danceroutfit and in the active party) in a single script. what could it be? thanks on advance Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.