ID:174883
Jul 10 2003, 2:28 pm
|
|
i am make ing a town but m have ing a problem with the townspeople im trying to make it so when you talk to them thay will say 1 of 5 things like "GO AWAY!!!","talk to me later","why dont you ask the king for a job?","there shur is alot of monsters!", and "are you stalking me?!" if you can help it will greatly apprecated!
|
Jul 10 2003, 3:24 pm
|
|
Here's a simple example of how you can do that.
|
In response to Jon88
|
|
thank you!!! it is soo much simpler then my wierd random generater that i had!!! but i want it only to be a verb that when you are next to a towns person the verb will pop up meh i'll find a wayith what you have given me agein thank you!!!
|
In response to Jon88
|
|
and will the towns person say that or will you guy?
sorry for being such a newbi :( |
In response to Neopo
|
|
Couldnt he do:
alert << response or something? That way itll pop up in a nice little alert box like he wants. |
In response to Shades
|
|
The verb needs to be defined under the townspeople mobs.
mob townspeople verb Talk() set src in oview(1)//the bone crusher var/say = pick(list("BOO","GAH","THE BONE CRUSHER")) usr << say |
In response to Super16
|
|
thank you!! now my game looks a lot more complete!
|
In response to Neopo
|
|
for the alert, you just change usr << say to...
alert(say,"")
|
In response to Neopo
|
|
*worries what it must look like if that's a definition of complete*
|