J
jb skaggs
Guest
Struggling with getting my memories back after chemo- its like starting over. Anyways... In the code below from a example I installed to study I found this event_user(0).
Nowhere else in the game files or scripts is it called or referenced.
The game manual just said it was a user created event.
So what is it doing?
thanks
GML:
with(objUnit) {
target_x = get_snapped(mouse_x, CELL_SIZE) + CELL_SIZE / 2;
target_y = get_snapped(mouse_y, CELL_SIZE) + CELL_SIZE / 2;
target = instance_position(target_x, target_y, CLICKABLE_CELL);
event_user(0);
}
The game manual just said it was a user created event.
So what is it doing?
thanks