var number; function wait_seconds() { wait(-3); number = 1; } function mything() { number = 0; wait_seconds(); while(number != 1) { //do stuff wait(1); } }
function fnc3secs () { var clock = total_ticks + 48; // 3 sec * 16 ticks/sec while ( clock > total_ticks ) { wait(1); } }
var timer=0; while(timer<3) //3 seconds { timer+=time_step/16; wait(1); }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de