wc3edit.net

United Warcraft 3 map hacking!
It is currently March 29th, 2024, 10:46 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: gold/lumber cheats
PostPosted: March 1st, 2007, 1:15 pm 
Offline
Newcomer

Joined: February 17th, 2007, 8:34 am
Posts: 6
Sry, if that question already is written anywhere but i was to stupid to find it and i dont really know how this stuff here works so i ask:

I added a gold cheat to a map, that gives 100 gold for a code which you type in in-game, if I want now gold AND lumber cheat do i have to make another trigger which isnt called like here

Code:
http://forum.wc3edit.net/viewtopic.php?t=21


"blubb", can i make another trigger with the same writing as in the link with the trigger name "blabb"? or can i make that thing in the same trigger so it gives me 1k lumber for typing the code one time in-game??
if yes, please tell me how...

ty
greetings thexkillerx

_________________
Eating or not eating - that's the question

Shakespeare


Top
 Profile  
 
 Post subject:
PostPosted: March 1st, 2007, 1:54 pm 
Offline
Newcomer

Joined: February 15th, 2007, 1:32 pm
Posts: 3
Just do the same thing, replace all the blubb by blabb and replace with this one of the part, the only thing that change is player state ressource lumber
Code:
function Trig_blubb_Actions takes nothing returns nothing
    call AdjustPlayerStateBJ( 1000, GetTriggerPlayer(), PLAYER_STATE_RESOURCE_LUMBER )
endfunction


Top
 Profile  
 
 Post subject: ty
PostPosted: March 1st, 2007, 2:47 pm 
Offline
Newcomer

Joined: February 17th, 2007, 8:34 am
Posts: 6
y k that was what i wanted to know

ty

greetings

_________________
Eating or not eating - that's the question

Shakespeare


Top
 Profile  
 
 Post subject:
PostPosted: March 1st, 2007, 7:11 pm 
Offline
Forum Staff
User avatar

Joined: January 28th, 2007, 8:10 pm
Posts: 830
Location: Canada
Title: JASS Programmer
If you want BOTH gold and lumber from that ONE cheat just do this...

Code:
function Trig_blubb_Actions takes nothing returns nothing
    call AdjustPlayerStateBJ( 1000, GetTriggerPlayer(),PLAYER_STATE_RESOURCE_LUMBER )
    call AdjustPlayerStateBJ( 1000, GetTriggerPlayer(),PLAYER_STATE_RESOURCE_GOLD )
endfunction


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO


Privacy Policy Statement
Impressum (German)