Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: lilinuyasha on Mon 11/07/2011 18:27:54

Title: What would be the smartest way to do this?
Post by: lilinuyasha on Mon 11/07/2011 18:27:54
What would be the smartest way to have only a specific character be able to talk on a walkable area? For example, a pegasus pony being able to fly over a cliff but not an earth pony. (Yes, it's a My Little Pony game). Should this be done with a regular walkable area thing or would a hotspot be smarter to do the job with?
Title: Re: What would be the smartest way to do this?
Post by: NickyNyce on Mon 11/07/2011 18:46:28
I'm assuming you mean walk and not talk...hmmm...add a second walkable area where the pegasus would fly, then....

in the before fade in, you could put something like

if(player==cEarthpony) {
  removewalkablearea(2);
 }

that should do the trick
Title: Re: What would be the smartest way to do this?
Post by: ddq on Mon 11/07/2011 22:04:16
Might also need to add
else RestoreWalkableArea(2);
Depending on how you do it. Good luck with your bronie escapades. I'm sure the results will be... interesting.
Title: Re: What would be the smartest way to do this?
Post by: lilinuyasha on Tue 12/07/2011 00:22:24
Don't diss my ponies  ;D