User Tools

Site Tools


crpl:docs:addconversationmessage

<- CRPL reference <- Conversation Commands

AddConversationMessage

ArgumentsResultNotation
speaker, text n1 s1 –

Description

Adds an item to the CRPL generated conversation. Each item is a speaker's ID number, and a short paragraph. If the conversation is not cleared before new entries are added then when it is shown the first message that is displayed will be the last message that the user saw when they closed it last time. Keep in mind, it is possible for the user to leave any and all conversations open for the entire game.

The speakers can be customized with new names and custom images in the editor.

Possible speakers:

ID Name Image
0 Skarsgard Abraxis
1 Lia
2 Loki Hive
3 Abrax… Imper…???
4 Loki Imperator
5 Aliana
6 (nameless man with red background)
7 (nameless man with green background)

Examples

ClearConversation
#Skarsgard says:
AddConversationMessage(0 "Where am I?")
#Lia says:
AddConversationMessage(1 "You're on a planet!")
ShowConversation
PauseGame
crpl/docs/addconversationmessage.txt · Last modified: 2020/05/27 12:32 by Sanian