Thanks for that, is indeed working, but, hmm, now i am really confused. I just want to call the function when the "a" key is pressed. So that the loop doesn't run always. That's what i wanted to achieve. Else i could have left it with the first working action from above.

Any further advice?


trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de