I changed temp to temp_m to better control my code.
But you can use temp if you want to.

edit :

Notes on your code :
The action for your entity is very important
It must be alive at all times..it may wait or it may do something
but it must be alive...working
in this situation it is processed one time only...and forgotten
You need a repetition somewhere in your code (while(1))
The "my.event" is a good start.

The declaration of the variables
var i_counter = 0; // or integer
VECTOR* temp_m = {x=0;y=0;z=0;}
should help you.

Ottawa wink

Last edited by Ottawa; 09/24/08 23:53. Reason: read code