A
Ayziak
Guest
I have a collision event, which I need to use to set off a keyboard event in another object. Here's the code I used:
My problem is that since a collision event triggers every step, only the first line of the A-key event in obj_char is triggered, an analogy would be, like setting a timeline in a step event. Is there a simple way to make the whole event play through, only looping at the end?
Code:
//Collision Event
event_perform_object(obj_char, ev_keyboard, ord("A"));