Because temppointer is only used for getting access to skills... of the entity, but the pointer itself is saved in the var. So this is like the variable temp (you can/should only use it one frame long because other functions will also use this).
The only solution I currently can imagin would be to use a global pointer for this, but thats not realy handy because in my chase I would need a lot global pointers...

Dark_Samurai


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version