Community

AGI Programming => Mega Tokyo AGI Archive => Topic started by: Kon-Tiki on March 09, 2004, 07:18:59 AM

Title: Unknown181
Post by: Kon-Tiki on March 09, 2004, 07:18:59 AM
Neither unknown181(); nor release.key(); get accepted when attempting compiling under AGI Studio 1.37... Anybody know how to get it to work?
Title: Re:Unknown181
Post by: Chris Cromer on March 09, 2004, 08:33:25 AM
That command is only available in AGI 3.002.098, chances are you are using 2.936 which only has 175 commands in it. So 181 isn't available since it's a greater number than 175. ;)
Title: Re:Unknown181
Post by: Kon-Tiki on March 09, 2004, 09:44:08 AM
Woops ;D Got to find another way to do this then. Thought of making a code that looked like this:
Code: [Select]
if(have.key()) {
  if(release.key()) {
     // Code here
  }
}
That check with release.key()'d be needed because have.key() seems to pass a 1 no matter if there's a key pressed or not.