GetVoiceLineText
A line’s English text - the game’s subtitle.
Syntax
Section titled “Syntax”GetVoiceLineText(line)| Parameter | Type | |
|---|---|---|
line |
string | the line’s id |
Returns
Section titled “Returns”string - "" for an unknown line
Example
Section titled “Example”local line = PlayActorBark(guard, "greeting")SendClientMessage(pid, COLOR_WHITE, GetEntityName(guard) .. ": " .. GetVoiceLineText(line))See also
Section titled “See also”PlayActorVoice · GetBarkLines · the Actor life group of the index
