Code:

//var key_s_released;
function wait for_released_s(){
// key_s_released = 0;
while(key_s){
wait(1);
}
// key_s_released = 1;
//do your stuff her or use key_s_released in your action
}
on_s = wait for_released_s;




Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files