Code:
function dothis(var passinto){
	if (event_type == EVENT_IMPACT){		
		beep();
                wait(passinto);
	}	
}
action elevator_move(){
	my.emask |= ENABLE_IMPACT;
	my.event = dothis(5);
}



Note: The above is merely an example


I would like to pass some variables into my event functions. Can this be done? when i pass into them right now, the event stops.


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com