| 11-29-2004, 02:24 AM | #1 |
Code:
Untitled Trigger 001
Events
Player - Player 1 (Red) types a chat message containing g as An exact match
Unit - A unit Is issued an order with no target
Unit - A unit Is issued an order targeting a point
Unit - A unit Is issued an order targeting an object
Conditions
Actions
Game - Display to (All players) the text: hi
Game - Display to (All players) the text: (String((Issued order)))could their be ANY reason for this trigger not to run? |
| 11-29-2004, 03:25 AM | #2 |
Looks to me like it should work..... However, I am not very experianced with several events of diffrent types. Um, is this trigger just not working at all when you preform one of the events? Such as typing "g" as player red in a chat message? |
| 11-29-2004, 05:39 AM | #3 |
The only reason I can think of would be a thread-crash somewhere in the map script before the triggers get registered, I've had that a couple of times. But then probably all triggers wouldn't work. |
| 11-29-2004, 10:54 AM | #4 |
Does it work if you display the message for all players with a loop? for example: for integer a from 1 to 8 display message for player(integer i) I have a similar problem but I solved it like this. |
| 11-29-2004, 11:03 AM | #5 |
try make 4 triggers and then then only 1 event on each... |
| 11-29-2004, 12:25 PM | #6 |
With the text message event it shouldn't work since there was no issued order. |
| 11-29-2004, 01:28 PM | #7 |
it should work fine. a trigger can have as many events as you want, but it only needs 1 to run. of course like a thing said the order part wouldnt show if you typed g but the hi would. that was mostly to just clear some stuff up so you dont get more post saying to get rid of events. but i make this trigger all the time when i need an order id. |
| 11-29-2004, 05:22 PM | #8 |
pitzermike for the win!!! thx guys! btw: tip for all of you, if you enter a null value for an entered string, it will fire for every message. |
