I want to use <action class="AddChatMessage">
with localized property: "text_key"
and inside localization.xml (where is localized this text_key) i have tried:
{entityName}, {source.name}, {sourceEntityName}, {source_entity|name}, {source_entity.name}
And then... I call game_event:
<triggered_effect trigger="onSelfBuffStart" action="CallGameEvent" target="self" event="ng_test_chat"/>
and i see text message but without player name ((
Who know correct command (how to write player name on chat with xml), please help with hint!
with localized property: "text_key"
and inside localization.xml (where is localized this text_key) i have tried:
{entityName}, {source.name}, {sourceEntityName}, {source_entity|name}, {source_entity.name}
And then... I call game_event:
<triggered_effect trigger="onSelfBuffStart" action="CallGameEvent" target="self" event="ng_test_chat"/>
and i see text message but without player name ((
Who know correct command (how to write player name on chat with xml), please help with hint!