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.