Thank you, now I can finally touch the gun.
My following problem, when I touch the gun, I get this error:
Crash in speler_actWhat can be the problem in my player action...
Code:
PROBLEM SOLVED!
------------------------
Another question I have for moments, hoe can I make a entity to stay on screen all te time?
I have this now:
Code:
action fire_weapon(){
weap_uzi.pan = -80;
weap_uzi.tilt = -5;
while(1){
weap_uzi.x = camera.x + 75;
weap_uzi.y = camera.y + 175;
weap_uzi.z = camera.z - 40;
wait(1);
}
}
But when the PAN of the camera changes, the camera stays its place, it only moves along the camera.