Hello everybody, I hope you can help me with this problem... The issue is simple: I want to make appear an image in the game with an event, that event will make that the image appear when I press a key... Well, After that, I want to make it disappear pressing a key again, and keep this event working forever... for example, I want to create a map on the wall, you can view that map every times you want...
Any ideas? Thanks everybody for the reading.
Problem with showing an image pressing a key?
● ARCHIVED · READ-ONLY
-
-
Just to clarify... You are basically just trying to set up a hotkey to display and put away the map?
-
More or less, mi intention is activate the event of the image with a key, and deactivate it pressing one more time a key,
There is a way, putting a local switch and create a new page making the image disappear, but in that way, the event won't appear again... -
You can use a conditional branch to make the image appear when a certain button is pressed, but that will also make the image disappear as soon as the button is released instead of when the button is pressed a second time.
You set the condition to the button press, the effect to the "Show Picture" and the "Else" effect to "Erase Picture". -
@Cadh20000 Frick, I never thought of that! All this time, I was making two pages in the event - one for button press, one for button release - and using a switch to go between the two. You're a genius! All hail if-else statements!
-
Lol! Have fun and do your best!
-
