Ok,
For now i use this ugly solution, but if sombody have idea to do this better - please write a note here.
IMHO ugly solution (but still solution):
In onExit script conditional:
if(!GetIsDM(oPC) || !GetIsObjectValid(oGetIsInside(oPC, lArea)))
And function oGetIsInside:
object oGetIsInside(object oMaster, location lMarker){
int nWO = 1;
object oCreature = GetNearestCreatureToLocation(CREATURE_TYPE_IS_ALIVE, TRUE, lMarker, nWO);
while(GetIsObjectValid(oCreature)){
if(GetMaster(oCreature)==oMaster){
return oCreature;
}else{
nWO++;
oCreature = GetNearestCreatureToLocation(CREATURE_TYPE_IS_ALIVE, TRUE, lMarker, nWO);
}
}
return OBJECT_INVALID;
}
Thanks for help, and please write if You have any better ideas.
--
Yester