• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Preset Key variable

Status
Not open for further replies.
Level 18
Joined
Aug 23, 2008
Messages
2,319
I want to set a variable for a keyboard key. So I made a global variable Preset - Key. However, I can't seem to use this variable in my 'Player X pressed Key down' event. There's a list of key variables and the list is empty.

Is this because it's an event? And if that's the reason, then why is there the possibility to choose variables in the event? And why make it possible to create Key variables, but can't place it anywhere (because I checked and there are no actions who use a Key variable)?
Or is there another reason why the variable doesn't show up in that list? I've tried restarting GE.
 
Status
Not open for further replies.
Top