//::////////////////////////////////////////////// //:: Created By: Cuprius //:: Created On: 2/18/08 //:://///////////////////////////////////////////// /* TRUE if PC Speaker has wings and is wearing a cloak that does not hide wings when worn, otherwise FALSE. */ //::////////////////////////////////////////////// int StartingConditional() { object oPC = GetPCSpeaker(); object oItem = GetItemInSlot(INVENTORY_SLOT_CLOAK, oPC); if (!GetIsObjectValid(oItem)) return FALSE; int nWingType = GetCreatureWingType(oPC); int nAppearance = GetItemAppearance(oItem, ITEM_APPR_TYPE_SIMPLE_MODEL, 0); int nHidewing = StringToInt(Get2DAString("cloakmodel", "HIDEWING", nAppearance)); if (nWingType != CREATURE_WING_TYPE_NONE && nHidewing == 0) return TRUE; else return FALSE; }