Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Andail on Thu 26/06/2003 18:32:26

Title: suggestion about regions
Post by: Andail on Thu 26/06/2003 18:32:26
Don't know if this is already implemented, since I'm pretty behind when it comes to the updates and newest technical stuff, but as far as I know, there is no function that triggers when any character is on the region - or hotspot - just the player...

wouldn't it be very handy to make this available for other characters as well?
Title: Re:suggestion about regions
Post by: MillsJROSS on Fri 27/06/2003 04:00:03
After a quick search through the AGS help file, I was unable to find anything. I tried playing around with a few things in the engine, and also couldn't find anything. I agree, it might prove useful. But I'm not sure how just scripting a non-player character to mimick the same thing, would be too hard. Unless you're putting randomness into a game. Through scripting, though, you could always mandate what a player does.

What exactly are your ideas on usefulness for this function? I think that it would be a neat tool, and could make some scripting easier on us...but I'm not sure how I would use this tool.

-MillsJROSS
Title: Re:suggestion about regions
Post by: Pumaman on Fri 27/06/2003 16:59:46
So some sort of "Any character walks onto region" command?

Interesting idea. It is of course possible to work around at the moment by putting GetRegionAt in repeatedly_execute.

How many people would find an event of this kind useful?
Title: Re:suggestion about regions
Post by: Squinky on Sun 29/06/2003 08:13:14
I would....
Title: Re:suggestion about regions
Post by: ThunderStorm on Sun 29/06/2003 10:33:38
I just thought of the fastfood restaurant in Simon the Sorcerer 2, where the door slides open when either the player or the little kid stepped on a certain area in front of it.

So yes - I also think it would be useful, especially if you can detect which character triggered the action.
Title: Re:suggestion about regions
Post by: Pumaman on Sun 29/06/2003 17:01:04
Ok, I'll add it to my list.

The only problem I can see is that obviously if a blocking script was running at the time, it woudln't trigger for the other character.