NPC start talk

This commit is contained in:
Łukasz Kurowski 2015-03-31 10:37:49 +02:00
parent fcd481ee15
commit ff0947c270
1 changed files with 3 additions and 0 deletions

View File

@ -854,6 +854,9 @@ function applyMessagePrefixies(name, level, message)
end
function onTalk(name, level, mode, message, channelId, creaturePos)
if mode == MessageModes.NpcFromStartBlock then
mode = MessageModes.NpcFrom
end
if mode == MessageModes.GamemasterBroadcast then
modules.game_textmessage.displayBroadcastMessage(name .. ': ' .. message)
return