How do you let a player assign buttons?
I want to let a player assign buttons (X, O, square, triangle) for toggling 4 lights. A player should only be able to assign a light to a button while standing in front of that light, but be able to toggle that light once assigned from anywhere.
I have tried to browse some things like the selector, but its not seeming like that is what I need for this?
Thank you for your time and help!
-
Maybe use a counter to assign 1-4 for each of the buttons and somehow combine the signals with the button presses... this is kind of interesting, I’ll look more into it after work :)
-
Yeah, I think you'll need to associate a variable, during gameplay, with each of the face buttons or with each of the lights and do some comparisons. What do you do when two buttons are held simultaneously?
請登入寫評論。