| 03-06-2003, 01:39 AM | #1 |
Anti - Cheat When I try making a trigger to call a defeat for the player when he/she enters a certain text string, it doesnt work. Any ideas? Array/Variable Is it possible to "put" three units into an array or variable so I can use them in a condition? |
| 03-06-2003, 01:42 AM | #2 |
maybe if it makes a unit like a flying sheep instead, and then have another trigger that says when X player owns 1 flying sheep they lose :D and then it can play the sheep bah! and a message can popup that says sheep! your all sheep! just an idea ;) |
| 03-06-2003, 01:58 AM | #3 |
so u what a player to get a loose message that pops up when they type a string? well if u what it tol work like that u just tdo this: action player - player 1 types a chat message containg: im a dirty cheater as an exact match action game - defeat (triggering) player wiht the message: Defeat then u just make a trigger like this for all ur players. and u can make the chat message anything u what. |
| 03-06-2003, 02:20 AM | #4 |
yes the defeat for using a cheat command does work, also you can store units into a array and use them as condiitions, you use an OR statement as the first condition, and the 2nd part of that condition use a 2nd OR statement (or an AND if all 3 need to be true). that will allow 3 units to be part of 1 condition |
| 03-06-2003, 07:45 PM | #5 |
Thank you guys. I originally tried the Custom Text String thing but it doesnt work, and I dont know why. Thnx Dakan, I never thought of using 2 or/and Conditions. |
