Forum rules - please read before posting.

Custom Action - Dialogue: Multiresponse

edited August 2014 in Extending the editor
Hi, this is an action which lets you play a different dialogue line each time the action list is run. You can choose to let the lines be shown in order or randomly. 


Some notes:
- Currently NOT COMPATIBLE WITH SPEECH AND TRANSLATIONS! It can be, but you will need to hack the Speech Manager file. And since we dont have speech and translations in our game (yet!) I haven't tested that.
- To use this Action, copy it into Assets\AdventureCreator\Scripts\Actions or into your custom scripts folder. The go to the Actions manager and hit "Refresh List".
- For the lines to be shown in order, you need to define an integer variable in the Variables Manager and set it at the "Current line variable" option. 
- Version 1.37 of Adventure Creator provided the action Variable: Check Random Number. For random dialogue lines you might want to use that one instead.

Comments

  • edited May 2015
    Hi,

    if you ever like to include speech and translations, there's another way to do this: use the Variable - Run Sequence or Variable - Check random number actions and assign "Play speech" actions to the various options. 
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.