FANDOM


Function 

Subtitle_Message_Handlerw(<sText>, <fTime>, <SoundPath>, <iPlayer>)

Description 

This function is called in "Data\leveldata\multiplayer\lib\*.lua" files.

Used to make message, with sText and Sound speech to iPlayer. 

Example 

In crates.lua :

Subtitle_Message_Handlerw(subtitleMessage, 2, "data:sound\\speech\\allships\\emperor\\STATUS_GETCRATETECH_1", iPlayer)

Arguments 

<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.