harry
Abandoned Uranium Working
Posts: 13
|
Post by harry on Feb 22, 2021 18:31:32 GMT
Hi,
How to assign a key for a action. I want to restart a screen/level for when you are stuck in a level
I've tried this but this dont work
if key ="1" restart endif
|
|
|
Post by oss003 on Feb 23, 2021 11:05:58 GMT
Hi Harry,
try this:
IF KEY = OPTION1 RESTART ENDIF
Define the 1-key as Option1 in the key editor.
Greetings Kees
|
|
harry
Abandoned Uranium Working
Posts: 13
|
Post by harry on Feb 23, 2021 15:43:38 GMT
Hi Kees, I've tried it but nothing happens. In wich event do you put the code ?
|
|
|
Post by oss003 on Feb 23, 2021 20:29:33 GMT
In an event what is always executed .... eg. MAINLOOP1
If you can send me the DELETEME.AGD file then I can have a look to see what the problem is.
|
|