Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: De-Communizer on Sat 30/05/2009 13:38:20

Title: Stupid question about scripts...
Post by: De-Communizer on Sat 30/05/2009 13:38:20
To avoid having to repeat huge chunks of code over and over, I know other people use a means of getting the script to refer to this other "reference" example. Unfortunately, I can't for the life of me remember what it's called, from which I could then figure out how to implement it. I know I've seen it before, but no matter how I phrase aspects of it I can't get the search to find it. 

Could anyone point me in the right direction, por favor?
Title: Re: Stupid question about scripts...
Post by: Matti on Sat 30/05/2009 13:41:10
..are you talking about functions?
Title: Re: Stupid question about scripts...
Post by: De-Communizer on Sat 30/05/2009 14:07:14
Function! That's the one. Do excuse me, I'm in a stupid mood this morning. Afternoon.
Title: Re: Stupid question about scripts...
Post by: Wonkyth on Mon 01/06/2009 12:05:44
Try looking at this page in the AGS wiki: http://www.americangirlscouts.org/agswiki/Scripting_tutorial_part_2 (http://www.americangirlscouts.org/agswiki/Scripting_tutorial_part_2)
Title: Re: Stupid question about scripts...
Post by: Trent R on Mon 01/06/2009 18:20:18
That's also in the manual, not just on the wiki.


~Trent