Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Yodude10 on Sun 09/03/2008 08:44:03

Title: Help with Object Scripting
Post by: Yodude10 on Sun 09/03/2008 08:44:03
I am completely new at using Adventure Game Studio, so this is beyond simple, but I've checked pretty much all tutorials, and I can't seem to find it. Where do I put a script for an object? I'm trying to set Ignore Walk-Behinds. I have the script, yet I don't know where to put it, or even how to put it in. Some directions on where to click would be enough.
Title: Re: Help with Object Scripting
Post by: .M.M. on Sun 09/03/2008 09:24:45
From when do you want from  object to ignore walk behinds? Let's say, for example, you need it when player looks on it. So, click on "lightning" and double click on "look on object". Script editor will appear so write it here.
Title: Re: Help with Object Scripting
Post by: Yodude10 on Sun 09/03/2008 15:19:39
Where Exactly is the Lighting tool? I'm using version 2.72
Title: Re: Help with Object Scripting
Post by: .M.M. on Sun 09/03/2008 16:02:29
Sorry, this is in AGS 3.0. :P  In 2.72 you have to chose room, click on "Objets", and here, click on Interaction. Interaction editor will appear, here right- click on "Look on object", click on "Run script" and write.
Title: Re: Help with Object Scripting
Post by: Yodude10 on Sun 09/03/2008 16:39:53
That worked perfectly, thanks alot!