Pfap
Member
[SOLVED]
Hello, is it possible for variables to hold programs? I'm trying to use the choose function like this:
choose( control1, control2, control3)
in the create event I set up the variables:
control1 = { if keyboard_check(vk_up){ y -= 3}
(rest of keyboard inputs)
}
control2 =
It's not working, so I believe I'm using variables wrong or missing something.
I'm racking my brain trying to find a solution, I want the players controls to be switched if they have a collision with an object.
Hello, is it possible for variables to hold programs? I'm trying to use the choose function like this:
choose( control1, control2, control3)
in the create event I set up the variables:
control1 = { if keyboard_check(vk_up){ y -= 3}
(rest of keyboard inputs)
}
control2 =
It's not working, so I believe I'm using variables wrong or missing something.
I'm racking my brain trying to find a solution, I want the players controls to be switched if they have a collision with an object.
Last edited: