Subtitle Message Handlerw

Function 

Subtitle_Message_Handlerw(, , , )



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

<p style="font-weight:normal;"><sText> : <span style="font-weight:normal;color:rgb(212,212,212);font-family:Verdana,Tahoma,Arial,Helvetica,sans-serif;line-height:16.9px;">the text to display; it can be either a quoted string or the index of a localised string.

<p style="font-weight:normal;"><span style="font-weight:normal;color:rgb(212,212,212);font-family:Verdana,Tahoma,Arial,Helvetica,sans-serif;line-height:16.9px;"><fTime> : in seconds.

<p style="font-weight:normal;"><span style="font-weight:normal;color:rgb(212,212,212);font-family:Verdana,Tahoma,Arial,Helvetica,sans-serif;line-height:16.9px;"><SoundPath> : The way to the speech to play.

<p style="font-weight:normal;"><span style="font-weight:normal;color:rgb(212,212,212);font-family:Verdana,Tahoma,Arial,Helvetica,sans-serif;line-height:16.9px;"><iPlayer> : The index of player can see this message.