Comments (4)
I got it to work, and it is really ugly and inconvenient to write compared to the way I tried the first time. Yes, this is the only way to do it. If it has a reply, it must not be randomized. So, lines without replies go in their own section, and then each line with a reply must also be in its own section.
~ COAL_RANDOM
%6 => c0
% => c1
% => c2
~ c0
% COAL: Dig, dig!
% COAL: Glad to help!
% COAL: Is this lump yours? [wait=1]Just kidding!
% COAL: I hope my posture is good.
% COAL: I sure am grateful for this shovel.
% COAL: Why is this stuff purple?
=> COAL_RANDOM
~ c1
COAL: If you didn't get enough, go ahead and take some more!
% CONCRETE: Gracias, amigo.
% JOULES: Thank you.
% COPPER_ORE: Well, shoot, there, boss, don't mind if I do!
=> COAL_RANDOM
~ c2
COAL: I always liked playing support.
% => c3
% => c4
% => c5
=> COAL_RANDOM
~ c3
TARBALLS: Support as in... buffer or healer?
COAL: Healer.
=> COAL_RANDOM
~ c4
IRON_ORE: ADC for life.
=> COAL_RANDOM
~ c5
IRON: I like to tank!
=> COAL_RANDOM
Including aesthetic spacing, this doubled the amount of lines.
Also, regular lines and section jumps cannot be grouped together in a random pool. They are grouped separately. See:
Test3 is never reached.
from godot_dialogue_manager.
I'm not really sure what you're trying to do but if you want to have separate groups of random lines then you can add an empty line between each group.
from godot_dialogue_manager.
The first screenshot is the most relevant to what I'm trying to do: Get randomized dialogue with no input from the player. The player won't be able to reply to anything. I also was trying to get randomized replies to certain lines, like at line 8--if Coal says the line on line 8, then 1 of those 3 characters below him would have a reply.
But there can be no reply like that to a random line.
from godot_dialogue_manager.
If you unindent all of those lines and then add empty lines between the grouped random lines it should do what you want.
from godot_dialogue_manager.
Related Issues (20)
- BBCode [img] shows up immediately HOT 1
- Autoload not recognized HOT 1
- Plugin settings are not being created (they still work once manually added to project.godot)
- [2.23.0] Having a negative number in the function parameter causes "Unxpected operator" in "do ..." expressions
- [2.32.1] BBCode [img] shows up immediately when using region HOT 3
- Implement docstring-style comments for exporting translations HOT 3
- test_basic_dialogue.gd: Wrong Assertion HOT 1
- Unskippable first line with custom input HOT 1
- Clicking on screen requires specific area to continue
- "do" cannot use array parameters.
- Editor slowdown when resolving due to translations in assertions HOT 1
- Game crashes after update to 2.32.4
- Inconsistent Parser Error When Running from Editor HOT 11
- get_next_dialogue_line is not available when run in editor HOT 1
- Allow nested properties in conditions and mutations HOT 2
- Using the return value of the same function in a dialog will only show the return value of one function. HOT 4
- async method not exist that return Task in C# HOT 2
- Add option to remember the dialogue editor's state after closing Godot HOT 2
- DialogueLabel: possible race condition between `finished_typing` event and `type_out` method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot_dialogue_manager.