Hello,
So recently I've added my own customized Chatbox to my game, though as I've noticed whenever I try to use the triggers to display a message anything afterward begins to disappear and just go invisible. I display the messages from the Trigger Editor only by using "Dialog - Add list item "You have been killed by A Catcher. ..." to Chatbox Variables.Chat List Items[0] for (Player group((Owner of (Triggering unit))))" though right after this occurs the "Owner of the Triggering unit" begins to only see blank even if he types it disappears though you can still target it in the dialog just unable to see anything.
Hopefully you may help with understanding why the text doesn't show after the Trigger Editor sending ONLY this command.
when you create a list item through the main chat system, you add a blank list item afterwards to focus the list on the new chat line. You then delete message though.
This is what you are doing without the custom trigger:
I recently tried the example though it failed each time the Trigger sends out a message to the Dialog (not the player), "Dialog - Add list item "You have been killed by A Catcher. ..." to Chatbox Variables.Chat List Items[0] for (Player group((Owner of (Triggering unit))))".
Hello, So recently I've added my own customized Chatbox to my game, though as I've noticed whenever I try to use the triggers to display a message anything afterward begins to disappear and just go invisible. I display the messages from the Trigger Editor only by using "Dialog - Add list item "You have been killed by A Catcher. ..." to Chatbox Variables.Chat List Items[0] for (Player group((Owner of (Triggering unit))))" though right after this occurs the "Owner of the Triggering unit" begins to only see blank even if he types it disappears though you can still target it in the dialog just unable to see anything. Hopefully you may help with understanding why the text doesn't show after the Trigger Editor sending ONLY this command.
Updating Main Chat System Focus System
Any ideas to how to fix this issue? As I'm getting hints that it may be something to do with Triggering Player.
@Darkblizzard: Go
when you create a list item through the main chat system, you add a blank list item afterwards to focus the list on the new chat line. You then delete message though.
This is what you are doing without the custom trigger:
This is what you need to do
Right now you are deleting the message after creating it.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
So I should just simply remove the variables and change the remove list item to count the list of items of the parameter of Players?
Example: http://peeeq.de/gui.php?id=3774
@Darkblizzard: Go
I recently tried the example though it failed each time the Trigger sends out a message to the Dialog (not the player), "Dialog - Add list item "You have been killed by A Catcher. ..." to Chatbox Variables.Chat List Items[0] for (Player group((Owner of (Triggering unit))))".
Check the events help, make sure that triggering unit is what you want. Also does it work with normal player chat?
On a side note I must point out that you could just as easily select the list item after creating the list item, instead of using another trigger.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
May I suggest you looking at the selection, it says "for 1", should it be switched to the parameter of "Player"?
Also if I was to remove both items " " and "Remove item", would it still work the same?