I know about me but I use me also in the same function for the the entity itself.
Its a bit more complex and I explained badly, maybe I should move to the scripting or MP section...
Anyway:
The player joins the game-> create a global ent on the server, that just send it's skills to every client -> on every client(means local) a dummy is created by the global ent -> this dummy moves with the skills given by the global ent
So the dummy-ent can move it needs to read it's "mother" ent's skill.
Because the ent was created by the global ent, you is set to it!
==>>
Code:
action aLocalDummy
{
//you is pointer to mother ent!!
while(you)
{
//read the skills given by player input
vecMovement.x = you._movement_x;
.....
.....
//now move me with the vec "given" by you (mother ent)
c_move(me, vecMovement...
.....
}
}
Works fine when my.passable=on; because it doesnt perform any collision detection then. When passable=off; you is set to an other ent
-> you isnt the pointer to my "mother" ent anymore-> I can throw away my code
Hope you got it and can help me now
nipx