Thanks for the help,

This code I gave is only an example, in my actual code there would be a while-loop that contains a c_move. Every loop the c_move is used to move an entity a little bit. Well it doesn't really matter, I cant use return this way so I have to figure out something else I guess smirk

(Passing through the functions argument list does not work in my code, I dont want to call the function again)