Quote:

your question: pointer a to open door by mouse or any you want.

open door looks like a animation.your use door animation by game event.
and then your put any block nearless your door. So if you want to control just push event to your game Object ,and play animation by itself.
???

For all who want to know, this should work
Code:
#define open skill100

action points_door()
{
  while(!player) wait(1);
  while(my)
  {
    if(player)if(vec_dist(player.x, my.x) < 80 && totalPoints>2000 && my.open == 0)
    { 
      my.open = 1;
      _open_door(); //whatever
    }
    if(player)if(vec_dist(player.x, my.x) > 80 && my.open == 1)
    { 
      my.open = 0;
      _close_door(); //whatever
    }

    wait(1);
  }
}



Last edited by rayp; 07/03/12 15:10.

Acknex umgibt uns...zwischen Dir, mir, dem Stein dort...
"Hey Griswold ... where u gonna put a tree that big ?"
1998 i married my loved wife ... Sheeva from Mortal Kombat, not Evil-Lyn as might have been expected
rayp.flags |= UNTOUCHABLE;