Custom string controls for gamepad

You know how you can set up custom keyboard controls with variables like this?
image

Where in the conditions you can just say…

Well, I’m trying to set up that same thing, but for a game controller. I know it’s possible, as I’ve done it before, but now I can’t go back to see what I did.

This is what I’ve tried doing…
image

It’ll work fine. The problem is that you’re using a number variable.

The event will only accept strings.

So…What should I do?

Turn your variable into a string. You won’t be able to use a number variable in that event.

Not sure I understand. What’s a “string”?

I’m very confused. You are the one that made an entire thread asking about custom string controls.

If you don’t know what a string is I am unlikely to be able to assist. A string is treated as text, but I STRONGLY recommend reviewing the documentation wiki to learn more about variables and their types.

At this point, I will again point out that your above screenshot is showing that your controller variable for attack is set to a number (integer) variable type, which is different from how your keyboard variables are set up, and is unsupported by that wvent condition.

Hm… So can you not just send like, a screenshot of what the variable setup is suppose to look like, or just a simple text description like, “Make KeyControls structure variable, than add a text variable and label it w”.

Cause I recall that all I had last time was a specific variable set up, and up a condition.

Okay, I did manage to get something.