suggestion about regions

Started by Andail, Thu 26/06/2003 18:32:26

Previous topic - Next topic

Andail

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?

MillsJROSS

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

Pumaman

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?

Squinky


ThunderStorm

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.

Pumaman

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.

SMF spam blocked by CleanTalk