Jibble

Author Topic: Multiple possible outcomes of a function  (Read 177 times)

Multiple possible outcomes of a function
« on: 08 Jun 2019, 04:07 »
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.

Re: Multiple possible outcomes of a function
« Reply #1 on: 08 Jun 2019, 12:46 »
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

Re: Multiple possible outcomes of a function
« Reply #2 on: 11 Jun 2019, 00:12 »
thanks

Khris

  • having to deal with what games are going through
    • Lifetime Achievement Award Winner
    • I can help with play testing
    • I can help with scripting
    • I can help with translating
    • Khris worked on one or more games that was nominated for an AGS Award!
Re: Multiple possible outcomes of a function
« Reply #3 on: 20 Jun 2019, 13:12 »
There's also the Multiresponse module which although older should in theory work with current AGS versions.