Posted By: DLively
event_type and passing into functions - 04/26/15 13:55
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.