Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: on Tue 08/08/2006 13:20:45

Title: What's the Character.scrname property? (SOLVED)
Post by: on Tue 08/08/2006 13:20:45
What is the purpose of the "scrname" property that has recently been added to AGS? Just curious  ;)
Title: Re: "scrname"?
Post by: Pumaman on Tue 08/08/2006 22:10:30
I assume you're referring to the property on the Character -- it's not new by any means, it has been there since AGS 2.00 I believe.

It simply contains the script name of the character, eg. "EGO". Not particularly useful unless you want to display the script name for debugging purposes.
Title: Re: "scrname"?
Post by: monkey0506 on Wed 09/08/2006 02:20:39
It could also be useful for writing AGS inside of AGS...if you wanted to do that.
Title: Re: "scrname"?
Post by: on Wed 09/08/2006 12:30:23
cj, right, that was the one i had in mind. I must've overlooked it before, then. thanks!