NPC start talk
This commit is contained in:
parent
fcd481ee15
commit
ff0947c270
|
@ -854,6 +854,9 @@ function applyMessagePrefixies(name, level, message)
|
||||||
end
|
end
|
||||||
|
|
||||||
function onTalk(name, level, mode, message, channelId, creaturePos)
|
function onTalk(name, level, mode, message, channelId, creaturePos)
|
||||||
|
if mode == MessageModes.NpcFromStartBlock then
|
||||||
|
mode = MessageModes.NpcFrom
|
||||||
|
end
|
||||||
if mode == MessageModes.GamemasterBroadcast then
|
if mode == MessageModes.GamemasterBroadcast then
|
||||||
modules.game_textmessage.displayBroadcastMessage(name .. ': ' .. message)
|
modules.game_textmessage.displayBroadcastMessage(name .. ': ' .. message)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue