Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Tue 17/06/2003 21:49:10

Title: Bringing up Global message *** or *** or ***
Post by: on Tue 17/06/2003 21:49:10
Right I'm probably going to sound like a retard or something. But I've read the manual (all the tutorials and stuff) but I cant work out how to pick a global message at random.

Like where you look at a painting for example and you said like talk to painting, you dont want to be able to do it so you want it to pick a message from a list the global message list at random (500 - 520 to be exact) and then when you go to another object like a paintbrush and say talk to again you want to pick from the same list as before but not the same thing. Its probably dead simple, I've just not understood it.

I dont know if you get what I mean but if you do please help me it would be a great help.

I tried AGS a while ago but just to look at it looked to hard so I sacked it. Now I'm back. Since about a month ago. Just not registered until yet. Most of my games I've made with The games factory but this is much more powerful. so I'M BACK WOO HOO (nobody cares).

Please help.
Title: Re:Bringing up Global message *** or *** or ***
Post by: Gilbert on Thu 19/06/2003 09:57:02
If you want to use different responses for the paintbrush, why don't you use another list then?
Are you using something like unhandled_events?
Title: Re:Bringing up Global message *** or *** or ***
Post by: aussie on Thu 19/06/2003 12:35:47
I think you should have a look at the unhandled event function in the demo game global script. THat might help.