Author Topic: egsl programming question...  (Read 1870 times)

GEEK

  • Guest
egsl programming question...
« on: October 24, 2013, 02:58:14 AM »
i don't know were anymore but a wile ago i saw some script that used
keywords that I've never seen before in egsl.

e.g. :  SDLK_BACKSPACE or SOUND_LOOP

is there a list with these keywords on the internet or something?
can't find it in the documentation....

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: egsl programming question...
« Reply #1 on: October 24, 2013, 08:11:17 AM »
You've never seen them because they don't exist. They have to be declared int the scirpt itself. For example what I often do is
Code: [Select]
CRSLEFT=276
CRSRIGHT=275
CRSUP=273
CRSDOWN=274
SPACE=32
LCTRL=306
So you can check the keys like
Code: [Select]
if keystate (CRSRIGHT) then

GEEK

  • Guest
Re: egsl programming question...
« Reply #2 on: October 24, 2013, 09:54:22 PM »
aaah, thanks.that's actually a relief , less to study then ;)