#include "x0_i0_secret" #include "nw_i0_tool" void main() { object oPC = GetEnteringObject(); if ((GetLevelByClass(CLASS_TYPE_RANGER, oPC) >= 1)) { if(HasItem(oPC, "RCQ1")) { object oParty=GetFirstFactionMember(oPC, FALSE); while (GetIsObjectValid(oParty)) { object oTarget = GetWaypointByTag("Grove_Enter_WP2"); AssignCommand(oParty, ClearAllActions()); AssignCommand(oParty, ActionJumpToObject(oTarget)); oParty=GetNextFactionMember(oPC, FALSE); } } else if(HasItem(GetEnteringObject(), "RCQ2")) { object oTarget = GetWaypointByTag("Grove_Enter_WP3"); AssignCommand(oPC, JumpToObject(oTarget)); } else { object oTarget = GetWaypointByTag("Grove_Enter_WP"); AssignCommand(oPC, JumpToObject(oTarget)); } } }