| 02-09-2006, 09:58 PM | #1 |
I can't seem to figure out how to make a simple cheat. I want to inpliment this for my friend who has cancer. He isnt too good at WC3 yet due to tumors in his arms and impared vision so I wanted him to get a little advantage. The thing I am having trouble with is finding a way that only he can use it. I dont want others to be able to cheat at this map. ALSO, is there a way to link 4 Building health?. |
| 02-09-2006, 10:21 PM | #2 |
Well, I'm assuming the cheat would be chat-message-activated, so all you need to check is if the player name of the player who typed the chat message (triggering player) is equal to your friend's name (it would be a string comparison). |
| 02-09-2006, 10:41 PM | #3 |
Do you think I could do something like: Trigger1: Trigger2: This will be the only summon in the map btw. |
| 02-09-2006, 10:48 PM | #4 |
Gotta have it so a generic player, then have it check if that players name is so-and-so. |
| 02-09-2006, 10:49 PM | #5 |
Any ideas on how to do that? |
| 02-09-2006, 10:52 PM | #6 |
Trigger: (Name of (Triggering player)) Equal to Lance-ArmstrongIts a condition btw, string comparison |
| 02-09-2006, 11:09 PM | #7 | ||
Quote:
Quote:
|
| 02-10-2006, 07:11 PM | #8 |
Thanks, the scary thing is, my friends idol is Lance Armstrong. ;-P |
