how to add a gold/lumber cheat trigger

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

mickaboy72
Member
Posts: 91
Joined: June 12th, 2008, 2:04 am

how to add a gold/lumber cheat trigger

Post by mickaboy72 »

how to know the trigger of map that when you press
'
it gives 5000 gold and lumber
without putting activator


i saw it on tree tag maps and vamp..

in vamp map
(5 spaces)
gives 1000 lumber


how can this be?
Image Image Image
Spoiler:
Image
Dekar
Forum Drunk
Posts: 2918
Joined: January 17th, 2007, 4:22 pm
Has thanked: 1 time
Been thanked: 1 time

Re: how to?

Post by Dekar »

I don't understand the problem.
Go to world edit and build such a thing on your own, that's easy!
Don't pm me with Warcraft questions, this is a forum so just make a post!
In the world of thinking we are all immigrants. -Robert Nozick
mickaboy72
Member
Posts: 91
Joined: June 12th, 2008, 2:04 am

Re: how to?

Post by mickaboy72 »

aw....


i will make trigger?
Image Image Image
Spoiler:
Image
User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Re: how to?

Post by Kryptonyte »

Something like this...

Code: Select all

Events
Player - Player 1 (Red) types a chat message containing ' as An exact match

Conditions

Actions
Player - Add 5000 to (Triggering player) Current gold
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.
Tobias
Senior Member
Posts: 108
Joined: March 18th, 2008, 3:42 pm
Title: Map Maker
Location: Canadadadada

Re: how to?

Post by Tobias »

Another way to do it w/o a chat message is. Using the arrow key method.

Code: Select all

Untitled Trigger 001
    Events
        Player - Player 1 (Red) Presses the Left Arrow key
    Conditions
    Actions
        Player - Add 5000 to (Triggering player) Current gold
        Player - Add 5000 to (Triggering player) Current gold

Theres a better way but. meh.
User avatar
matchai
Forum Staff
Posts: 1009
Joined: July 14th, 2007, 2:51 pm

Re: how to?

Post by matchai »

what he wants is not that u put in in chat but u just type that letter

like the arrow key method but can u do it with ' ?

he also said that in a map u press <space>x5 outside of chat and it gives lumber
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4446
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: how to?

Post by Bartimaeus »

Space can be hotkeyed to do something via triggers, I believe.

` cannot.
User avatar
matchai
Forum Staff
Posts: 1009
Joined: July 14th, 2007, 2:51 pm

Re: how to?

Post by matchai »

I dunno

I'm still learning Jass :lol:
User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Re: how to?

Post by Kryptonyte »

matchai wrote: he also said that in a map u press <space>x5 outside of chat and it gives lumber
Um.. you could make a variable for Red... (In GUI, it'd be the easiest for him...)
Then make a trigger for a hot-key... when Red enters the hot-key, it gives the variable (Which would be an integer)
+1, when it reaches +5, give player (Whoever...) +5000 lumber/gold/whatever you want, and set the variable back to 0.
So it could be done over and over...
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4446
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: how to?

Post by Bartimaeus »

I've never seen a trigger like that, O.o

Where does it check to see if you hit a button? Only ones I know of are arrows in GUI, and I've seen Space+Escape, but never an actual letter.