Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: padilin127 on Sat 08/06/2019 04:07:39

Title: Multiple possible outcomes of a function
Post by: padilin127 on Sat 08/06/2019 04:07:39
I was wondering how I could create a function so that when an action has taken place, the character has a random chance of giving one response or giving a different response. I want this so that there is not always the same response, because I think that would make the game feel very scripted.
Title: Re: Multiple possible outcomes of a function
Post by: Crimson Wizard on Sat 08/06/2019 12:46:43
Hello, right close to yours there's another topic where people discuss working with Random function, maybe you will find some hints there: https://www.adventuregamestudio.co.uk/forums/index.php?topic=57214.0
Title: Re: Multiple possible outcomes of a function
Post by: padilin127 on Tue 11/06/2019 00:12:43
thanks
Title: Re: Multiple possible outcomes of a function
Post by: Khris on Thu 20/06/2019 13:12:38
There's also the Multiresponse module (https://www.adventuregamestudio.co.uk/forums/index.php?topic=27947.0) which although older should in theory work with current AGS versions.