Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: passer-by on Sat 04/06/2005 10:01:32

Title: character V objects. Difference??
Post by: passer-by on Sat 04/06/2005 10:01:32
Apart from restrictions like only having 6 objects in the room etc , both seem like having the same function. I can't  tell the difference.
Title: Re: character V objects. Difference??
Post by: RickJ on Sat 04/06/2005 10:23:04
Hi cp,

First of all there can be 20 objects per room, I'm not sure why you think it's 6 though.

Secondly, the primary difference is that objects only have scope in the rooms in which they are defined and charactrs have global scope throughout the game.  The result is that any given character may be used in any room in the the game; an object may only be used in the room in which it is defined.  There are some other more subtle differences as can be determined by examining the difference between character functions and the equivalent object functions.   
Title: Re: character V objects. Difference??
Post by: passer-by on Sat 04/06/2005 10:36:26
Quote from: RickJ on Sat 04/06/2005 10:23:04
First of all there can be 20 objects per room, I'm not sure why you think it's 6 though.
You are right, I had the restriction in mind but didn't remeber the number. Or was it about 6 visible objects or something?
Quote from: RickJ on Sat 04/06/2005 10:23:04
The result is that any given character may be used in any room in the the game; an object may only be used in the room in which it is defined.Ã, 
Now, this is important...
Thanks