$ Command
Last updated
Last updated
It's often required to execute programming code during your script play. Command statements can perform two tasks: Handle Quillscript Variables and Call Functions.
Quillscript is completely compatible with Unreal Engine programming, being it Blueprint Visual Scripting or C++, you can call almost any function from your script at any point.
A Command statement starts with a $ (Dollar Sign), immediately followed by a space.
A Command can also be concatenated to Dialogue, Option, and other Command statements as an instruction.
Notice that the command marker $ (Dollar Sign) is not required in Command instructions and is implied.
You can concatenate as many Command instructions as required. They execute in the order they are written.
The Command instruction has a different behavior for each statement type.
Dialogue
Execute before the dialogue plays
Option
Execute when the option is selected
Command
Execute after the main command