ok so i go to add trigger in weu i type in this
Cheat
Events
Player - Player 1 (Red) types a chat message containing -colmo as An exact match
Conditions
Actions
Player - Set Player 1 (Red) Current gold to 1000000
and it gives me this once i convert it
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
endfunction
//===========================================================================
function InitTrig_Untitled_Trigger_001 takes nothing returns nothing
set gg_trg_Untitled_Trigger_001 = CreateTrigger( )
call TriggerAddAction( gg_trg_Untitled_Trigger_001, function Trig_Untitled_Trigger_001_Actions )
endfunction
What am i doing wrong?
Cheats not working?
Moderator: Cheaters
-
- V.I.P.
- Posts: 329
- Joined: June 13th, 2007, 4:42 pm
- Title: Wc3 is for Nerds!!!!
Cheats not working?
...................................................................................................................

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]
-
- Forum Staff
- Posts: 926
- Joined: June 3rd, 2007, 8:03 pm
Re: Cheats not working?
you don't have any events or actions, you mite wanna recheck make sure you didn't actually leave the events and actions blank. -.-
I can't recall it perfectly w/o looking at it but the actions should be something like call set playerstate_resource_gold(gettriggeringplayer,1000000,?)
and event should be something like event_player_chat_msg(player(0),"-colmo")
I can't recall it perfectly w/o looking at it but the actions should be something like call set playerstate_resource_gold(gettriggeringplayer,1000000,?)
and event should be something like event_player_chat_msg(player(0),"-colmo")
-
- V.I.P.
- Posts: 329
- Joined: June 13th, 2007, 4:42 pm
- Title: Wc3 is for Nerds!!!!
Re: Cheats not working?
hmm i just copy and pasted from the cheating 101 post and replaced -test with -colmo so idk why it would be wrong
but i guess ill recheck it
EDIT: what would conditions be?
but i guess ill recheck it
EDIT: what would conditions be?
...................................................................................................................

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]
-
- Forum Staff
- Posts: 926
- Joined: June 3rd, 2007, 8:03 pm
Re: Cheats not working?
I sure hope your not copying and pasting what i posted up their like I said its just my rough guess since i don't wanna go open something and find out the exact names, and you don't need a condition. Theirs nothing wrong with your gui it's just the jass part thats missing everything that is wrong your jass is pretty much just doing nothing/waste of space.colmo wrote:hmm i just copy and pasted from the cheating 101 post and replaced -test with -colmo so idk why it would be wrong
but i guess ill recheck it
EDIT: what would conditions be?

-
- V.I.P.
- Posts: 329
- Joined: June 13th, 2007, 4:42 pm
- Title: Wc3 is for Nerds!!!!
Re: Cheats not working?
i dont rlly understand what you mean... and does any1 know where ican find the exact write trigger?
aeros post cheating 101 doesnt have it write i guess cause i used ctrl c ,ctrl v
aeros post cheating 101 doesnt have it write i guess cause i used ctrl c ,ctrl v
...................................................................................................................

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
Re: Cheats not working?
Globals:
trigger gg_colmo=null
Functions:
function Trig_colmo_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( 999999999, GetTriggerPlayer(), PLAYER_STATE_RESOURCE_GOLD )
endfunction
function InitTrig_colmo takes nothing returns nothing
set gg_trg_colmo = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_colmo, Player(0), "-colmo", true )
call TriggerAddAction( gg_trg_colmo, function Trig_colmo_Actions )
endfunction
function main;
call InitTrig_colmo
not checked at all just guessed cause I don't care if you're not willing to follow simple instructions posted in several places on this forum.
clearly something is wrong with you and or your world editor if converting your trigger that you claimed had events and actions on it to custom text has simply nothing but that of a default blank trigger.
trigger gg_colmo=null
Functions:
function Trig_colmo_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( 999999999, GetTriggerPlayer(), PLAYER_STATE_RESOURCE_GOLD )
endfunction
function InitTrig_colmo takes nothing returns nothing
set gg_trg_colmo = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_colmo, Player(0), "-colmo", true )
call TriggerAddAction( gg_trg_colmo, function Trig_colmo_Actions )
endfunction
function main;
call InitTrig_colmo
not checked at all just guessed cause I don't care if you're not willing to follow simple instructions posted in several places on this forum.
clearly something is wrong with you and or your world editor if converting your trigger that you claimed had events and actions on it to custom text has simply nothing but that of a default blank trigger.
-
- V.I.P.
- Posts: 329
- Joined: June 13th, 2007, 4:42 pm
- Title: Wc3 is for Nerds!!!!
Re: Cheats not working?
Ok ty xantan 

...................................................................................................................

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]

[blinking]How Do You Like Me Now? Also Im Going To Capitolize Every Word That I Type From Now On Just To Be Annoying.[/blinking]