Quote:

I don't know but i guess they are not the same ...

!player can exist as a dummy but not an entity...
When you check for player!=null. you will check if it exists in the world :S

At least the !player sometimes for me does not work...



(&angleFrom,&angleTo) the & means it is a pointer.. instead of a plain var number




So, if I understand you right, (!player) just checks if the pointer has not been defined and (player = null) checks if the pointer has been assigned to an action?

Last edited by jonkuhl; 02/18/08 03:53.