Media Messages
Let's continue working on the mission chapter.
...
-> Send me the operation plan
[photo=mission_plan.jpg/]Here it is, the operation plan. Remember, our goal is to destroy the criminal base.
Here, we've added a media message with an image of the operation plan. To ensure that the correct image is sent, you need to upload it on the Media page of your project.
Type \\photo in the editor to quickly insert a [photo=file.jpg/] tag. Replace file.jpg with your actual filename.
Sending Statusesβ
...
-> Send me the operation plan
<<wait 3>>
<<upload_photo 4>>
<<wait 1>>
<<typing 3>>
Damn, someone is jamming the signal, the message isn't getting through!
We can send statuses, such as "uploading a photo" or "recording a voice message," and even not send the actual message afterward. This helps create a more realistic interaction with the agent.
When you use the wait, upload_photo, record_voice, record_video_note, or typing commands before a message, you are taking control of t-Plot's standard behavior. This means default timings will no longer apply.
Changing Reactionsβ
...
Damn, someone is jamming the signal, the message isn't getting through!
-> What's happening?
They know I'm here.
<<reaction fight>>
<<wait 10>>
Phew! I knocked them out, but I need to get out of here quickly.
You can change the reaction to a player's message. Here, we leave the player waiting for 10 seconds. During this time, the player might try to send a message. With the fight reaction, you can send short replies like "Not the best time to chat" or "Busy fighting bad guys!" This adds more realism to the interaction.
The reaction only applies to one message, after which it resets to the default reaction set in the node or in the general settings.
Conclusionβ
Here we've described some techniques for working with t-Plot. Use the debugger to test your story as you write β enable Turbo mode to skip through long sequences, and check how media messages and statuses appear in the chat.