View Full Version : Danceroutfit issue

12-31-2007, 10:21 PM
Hi people, happy year :cheers: 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)) {
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? :confused: thanks on advance