Function; Subtitle_Message_Handler
Sastrei edited this page Jun 19, 2020
·
1 revision
Subtitle_Message_Handler(<sText>, <fTime>, <SoundPath>, <iPlayer>)
This function is called in "Data\leveldata\multiplayer\lib*.lua" files.
Used to make message, with sText and Sound speech to iPlayer.
Subtitle_Message_Handler("$14780", 2, "data:sound\\speech\\allships\\emperor\\STATUS_NEWCRATE_1", playerIndex)
- <sText>: the text to display; it can be either a quoted string or the index of a localised string.
- <fTime>: in seconds.
- <SoundPath>: The way to the speech to play.
- <iPlayer>: The index of player can see this message.
| Home | Search | Recent Changes | Revision History | About | User Help | Contributor Help | Discussion |