every player go at the begin of his action through a loop and put his pointer into an array, if u want to have the number 5 u just ahve to pcik the 5th array-element

Code:
action player
{
var i;
while(i<10&&i!=0)
{
i+=1;
}
player_ptr[i]=me;
}



if u want to get the position just write:
Code:
my=player_ptr[4];



edit: if you player 5 is a special entity u have to say it the engine per skill

so the action would be that way:

Code:
action player
{
player_ptr[my.skill1-1];//-1 becasueif he's player number 5he get the index 4
}



Last edited by Scorpion; 05/23/07 21:45.