Combat Dialogues
From OHRRPGCE-Wiki
What I really mean with combat dialogues are people talking in the middle of a combat.
Start with making some attacks. Crucial things to this are:
- The attacks must not have an attack graphic
- The attacks must have damage math set to No Damage
- The attacks must have the Do not display damage bitset on
Also make an attack which damages himself, and turn the Do not display damage bitset on.
Now lets get down to the dialogue. For example, we want our hero (which we call Jim) to at the start of the combat say:
Jim: Aaaah! Its a dragon!
Write the above sentence in Description. Go into the Appearance menu and set Display Caption to how many ticks the message will be shown (10 ticks is approxametly 1 second).
Now lets add the text into the battle, where Jim and Ned fights a dragon.
We now make two enemies. First we make the dragon (pretty obvious, since hes the boss). Second, we make an invisible enemy (Read: an enemy with a blank enemy picture). Set the speed to this creature extremely high (since its gonna show up at the start of the combat)and give him the above attack. Also set the bitset untargetable so that if somehow the heroes manage to act before the dialogue creature, they wont be able to kill him. Chain the attack with a 100% sucess rate to the self-damaging attack. Set the creatures HP low and set the creature alongside the dragon in the battle formation and voila: You got yourself a message from Jim who is scared of dragons.
Now, lets say that we want Ned, the brave paladin of the sacred order of the broccoli. Make another attack like the one above, but set the description to:
"Die, foul dragon!"
To have the messages appear after another, go into the first attack and chain it with 100% success rate to the second attack. Second, set the Delay before attack to as many ticks as the previous text. Remember that the last message must chain to the self damaging attack so it kills himself. Now Ned will display his hatred against dragons as well!
Thats all there is to it, i'll maybe add more later, but this is gonna do for now.
/Myroc
