![]() |
![]() ![]() ![]() ![]() ![]()
|
Author | Topic: Speaking |
Tanin |
![]() I can't seem to figure out how to have one of my mobs speak something once and only once, is there an easy way to set it so a mob will say something only once and not repeat it each time the char. enters the room or speaks with him (the mob). Also, is there a way to output the text which the mob says to the char. to another window as well as the main screen.. so the player can save the conversations and keep track of them. Help please.. Im going mad. |
Computer Whizz |
![]() Right: To get the person to say something only once, it's easier to set a property "spokento". If you have a variable, then you might need loads for different characters and it isn't very pretty... You have an if statement in the "speak" block, and if the spokento property is false then print the message - if true then print "Go away" or anything you want. The next part might be done in the help window - I'm not sure. NOTE: You can have the property as a numeric, so you can have a long conversation, so he goes through 1, 2, 3, 4, .... Instead of just two (with a true/false statement). Computer Whizz |