ok i have an action set to two entities....and I want to know the skill1 value of the first enity from the second entity....
action door
{
my.skill1 = 0; // 0 = open, 1 = close
....
}
now i set this action to two doors door1 and door2....now if door1.skill = 1 then only i can set door2.skill2 = 0;
i.e., if only door 1 is close then only i can open door 2...i.e i must somehow know if door1 is closed or not
how can i do that...