Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: homelightgames on Fri 27/10/2006 19:23:45

Title: editing Interaction Editor script
Post by: homelightgames on Fri 27/10/2006 19:23:45
Hey all,

I have a quick question. 

I assume everything in the Interaction Editor is converted to script somewhere.  Is there a way to edit that script? 

I've checked around, and looked at the manual but can't find if this is possible.

thanks

visionmind
Title: Re: editing Interaction Editor script
Post by: monkey0506 on Fri 27/10/2006 19:24:42
If you want to use scripting, use Run Script commands. Otherwise I don't believe (though I could be wrong here) that you can edit the scripts.
Title: Re: editing Interaction Editor script
Post by: homelightgames on Fri 27/10/2006 19:40:36
Yeah.  What it is, is I'm using Conditional Events to run my own scripts, but I was wanting to edit the conditional events so it wasn't simpley "==", so I could do greater than or less then conditions.

It was a long shot (if it was possible) but I just thought I'd ask.

thanks

visionmind
Title: Re: editing Interaction Editor script
Post by: monkey0506 on Fri 27/10/2006 20:01:55
if (a > b) Display("a is greater than b");
if (a < b) Display("a is less than b");
if (a == b) Display("a is equal to b");
if (a != b) Display("a is not equal to b");
if (a >= b) Display("a is greater than or equal to b");
if (a <= b) Display("a is less than or equal to b");


Does that help?