Skip to content

GetVoiceLineText

A line’s English text - the game’s subtitle.

GetVoiceLineText(line)
Parameter Type
line string the line’s id

string - "" for an unknown line

local line = PlayActorBark(guard, "greeting")
SendClientMessage(pid, COLOR_WHITE, GetEntityName(guard) .. ": " .. GetVoiceLineText(line))

PlayActorVoice · GetBarkLines · the Actor life group of the index