a little cheatpack..

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Bushido

Re: a little cheatpack..

Post by Bushido »

Senethior459 wrote:It seems to have a lot of useless comments, why put them all in there? We can see exactly what it's doing without them, and they just take up lots of space. Also, what's the point of the + and - commands? It's slightly faster than say -lvl #. But you're not going to need to change their levels in an instant, and if you really need to be fast about it, then you can bind that to a key beforehand, and use it when you need to. That would eliminate two more key presses from the whole thing! So why bother to put those in? Plus, this cheatpack doesn't have support for anyone but the first player (red). What if the map creator made the creeps the first player, and the players everyone else? Then the cheats are only available for the creeps! How useful... And yes, I have played maps like this, though not necessarily RPGs. Seriously though, I don't see myself using this cheatpack, the others are just more useful.
ur right , lol , i'll try to improve this cheatpack , so it can be used by all players..
(only if some1 is interested)
User avatar
Bartimaeus
Tyrannical Drama Queen
Posts: 4441
Joined: November 19th, 2007, 5:05 am
Been thanked: 2 times

Re: a little cheatpack..

Post by Bartimaeus »

Gripen2 wrote:And how the hell could i know that?
Also, i haven't seen any helpful moderator here, except Xantan.
You must be pretty blind, than.

Please explain why we're not helpful in your own words, (insert empty threat here).

It doesn't matter if you didn't know it, you still shouldn't be making comments about his grammar when you're messing up your own grammar, too.
User avatar
Sepharael
Forum Staff
Posts: 533
Joined: April 3rd, 2007, 11:39 pm
Title: Legendary Angel

Re: a little cheatpack..

Post by Sepharael »

I agree with Bart. You really are blind if you think Xantan was the only helpful one.
User avatar
Ozzapoo
The Flying Cow!
Posts: 2196
Joined: November 2nd, 2007, 10:34 pm
Location: Melbourne

Re: a little cheatpack..

Post by Ozzapoo »

Gripen2 wrote: And how the hell could i know that?
Also, i haven't seen any helpful moderator here, except Xantan.
That just sounds rude -.-
Saying "i Haven't seen any helpful moderator here" is kind of implying that all the other moderators aren't helpful. Plus, Xantan retired ages ago -.-
You may be a new member, but use common sense ffs -_-?
Gripen2 wrote:
King-Bushido wrote:if u look at it , u should know it , lol...
basic commands : -agi , -str , -int , -level <number> , +(gives 1 lvl) , +10(gives 10 lvl) , +100(gives 100 lvl)
-(gives -1 lvl) , - 10(gives -10 lvl) , - 100(gives -100 lvl) , -life , -mana , -wood , -gold

Edit: Like i said , it's very good for rpges !
i personally like the + / - commands...which gives u the +10 or +100 lvl..
Also.How do people get moderator?Is it becaus they got a cheat pack?

To the thread.

Nice done. :lol:
If you had just looked a little closer, you would have noticed that there are lots of mod's who don't have cheatpacks....
1. Durchdringen
2. Bartimaeus
3. Vegas
4. Me...
5. El Gamblero (Does he even play WC3 at all....?)
As well as a whole lot of other mods...
Visit Ozzapoo.net, my blog and the home of AutoCP and Cheatpack Detector!
AutoCP3 now available for free!
Bushido

Re: a little cheatpack..

Post by Bushido »

Ozzapoo wrote:
Gripen2 wrote: And how the hell could i know that?
Also, i haven't seen any helpful moderator here, except Xantan.
That just sounds rude -.-
Saying "i Haven't seen any helpful moderator here" is kind of implying that all the other moderators aren't helpful. Plus, Xantan retired ages ago -.-
You may be a new member, but use common sense ffs -_-?
Gripen2 wrote:
King-Bushido wrote:if u look at it , u should know it , lol...
basic commands : -agi , -str , -int , -level <number> , +(gives 1 lvl) , +10(gives 10 lvl) , +100(gives 100 lvl)
-(gives -1 lvl) , - 10(gives -10 lvl) , - 100(gives -100 lvl) , -life , -mana , -wood , -gold

Edit: Like i said , it's very good for rpges !
i personally like the + / - commands...which gives u the +10 or +100 lvl..
Also.How do people get moderator?Is it becaus they got a cheat pack?

To the thread.

Nice done. :lol:
If you had just looked a little closer, you would have noticed that there are lots of mod's who don't have cheatpacks....
1. Durchdringen
2. Bartimaeus
3. Vegas
4. Me...
5. El Gamblero (Does he even play WC3 at all....?)
As well as a whole lot of other mods...
El Gamblero is Dekar's Rl friend , as i know ...
Gripen2
Member
Posts: 69
Joined: October 8th, 2007, 2:51 pm
Title: Cheater, Map maker

Re: a little cheatpack..

Post by Gripen2 »

initiald wrote:Moderators are helping fullfilling people's requests.
You don't see it because you are new to this site.
Im not fucking new.Maybe you are, becaus you haven't seen me here.
Bushido

Re: a little cheatpack..

Post by Bushido »

i never saw u , too Gripen2...
i joined the same month as u , but i never saw u anyways^^
now back to topic :
any1 interested on using this?
Gripen2
Member
Posts: 69
Joined: October 8th, 2007, 2:51 pm
Title: Cheater, Map maker

Re: a little cheatpack..

Post by Gripen2 »

King-Bushido wrote:i never saw u , too Gripen2...
i joined the same month as u , but i never saw u anyways^^
now back to topic :
any1 interested on using this?
I've been inactive for long.But still, i like this.
Yes, i will use it on RPG maps, when i found out how to remove singe player protection. :?
User avatar
Shamanno1
Forum Staff
Posts: 912
Joined: October 21st, 2007, 6:17 am
Title: 11
Location: WorLd Of WaRcrAfT

Re: a little cheatpack..

Post by Shamanno1 »

King-Bushido wrote:found this on King Rpg...:o
p.S : it's recommend for Rpg's !
just put this under function InitTrig_init takes nothing returns nothing endfunction
GOD DAMNIT ! CAN SOME1 MAKE A SPOILER ON IT? TY lol..
Spoiler:

Code: Select all

//===========================================================================
// Trigger: Gold
//
// You have to be player one to cheat.... to lazy to add more oh ya this is made by chanchiem well the cheats are
//===========================================================================
function Trig_Gold_Actions takes nothing returns nothing
    call AdjustPlayerStateBJ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), Player(0), PLAYER_STATE_RESOURCE_GOLD )
endfunction

//===========================================================================
function InitTrig_Gold takes nothing returns nothing
    set gg_trg_Gold = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Gold, Player(0), "-gold", false )
    call TriggerAddAction( gg_trg_Gold, function Trig_Gold_Actions )
endfunction

//===========================================================================
// Trigger: WOod
//
// You have to be player one to cheat.... to lazy to add more oh ya this is made by chanchiem well the cheats are
//===========================================================================
function Trig_WOod_Actions takes nothing returns nothing
    call AdjustPlayerStateBJ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), Player(0), PLAYER_STATE_RESOURCE_LUMBER )
endfunction

//===========================================================================
function InitTrig_WOod takes nothing returns nothing
    set gg_trg_WOod = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_WOod, Player(0), "-wood", false )
    call TriggerAddAction( gg_trg_WOod, function Trig_WOod_Actions )
endfunction

//===========================================================================
// Trigger: Level
//
// To use this type -level "number"  to change the of hero's level u want
// (no quotes)
//===========================================================================
function Trig_Level_Func001002 takes nothing returns nothing
    call SetHeroLevelBJ( GetEnumUnit(), S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), false )
endfunction

function Trig_Level_Actions takes nothing returns nothing
    call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Level_Func001002 )
endfunction

//===========================================================================
function InitTrig_Level takes nothing returns nothing
    set gg_trg_Level = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Level, Player(0), "-level", false )
    call TriggerAddAction( gg_trg_Level, function Trig_Level_Actions )
endfunction

//===========================================================================
// Trigger: Mana
//
// type -mana to set the amount of mana u want
//===========================================================================
function Trig_Mana_Func001002 takes nothing returns nothing
    call SetUnitManaBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Mana_Actions takes nothing returns nothing
    call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Mana_Func001002 )
endfunction

//===========================================================================
function InitTrig_Mana takes nothing returns nothing
    set gg_trg_Mana = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Mana, Player(0), "-mana", false )
    call TriggerAddAction( gg_trg_Mana, function Trig_Mana_Actions )
endfunction

//===========================================================================
// Trigger: Life
//===========================================================================
function Trig_Life_Func001002 takes nothing returns nothing
    call SetUnitLifeBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Life_Actions takes nothing returns nothing
    call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Life_Func001002 )
endfunction

//===========================================================================
function InitTrig_Life takes nothing returns nothing
    set gg_trg_Life = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Life, Player(0), "-life", false )
    call TriggerAddAction( gg_trg_Life, function Trig_Life_Actions )
endfunction

//===========================================================================
// Trigger: Inteligince
//
// Use -int to change the intellegince
//===========================================================================
function Trig_Inteligince_Func001002 takes nothing returns nothing
    call ModifyHeroStat( bj_HEROSTAT_INT, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Inteligince_Actions takes nothing returns nothing
    call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Inteligince_Func001002 )
endfunction

//===========================================================================
function InitTrig_Inteligince takes nothing returns nothing
    set gg_trg_Inteligince = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Inteligince, Player(0), "-int", false )
    call TriggerAddAction( gg_trg_Inteligince, function Trig_Inteligince_Actions )
endfunction

//===========================================================================
// Trigger: Strength
//===========================================================================
function Trig_Strength_Func002002 takes nothing returns nothing
    call ModifyHeroStat( bj_HEROSTAT_STR, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Strength_Actions takes nothing returns nothing
    call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Strength_Func002002 )
endfunction

//===========================================================================
function InitTrig_Strength takes nothing returns nothing
    set gg_trg_Strength = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Strength, Player(0), "-str", false )
    call TriggerAddAction( gg_trg_Strength, function Trig_Strength_Actions )
endfunction

//===========================================================================
// Trigger: Agi
//===========================================================================
function Trig_Agi_Func002002 takes nothing returns nothing
    call ModifyHeroStat( bj_HEROSTAT_AGI, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Agi_Actions takes nothing returns nothing
    call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Agi_Func002002 )
endfunction

//===========================================================================
function InitTrig_Agi takes nothing returns nothing
    set gg_trg_Agi = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Agi, Player(0), "-agi", false )
    call TriggerAddAction( gg_trg_Agi, function Trig_Agi_Actions )
endfunction

//===========================================================================
// Trigger: Level Up
//===========================================================================
function Trig_Level_Up_Func002001002 takes nothing returns boolean
    return ( IsUnitSelected(GetFilterUnit(), Player(0)) == true )
endfunction

function Trig_Level_Up_Func002A takes nothing returns nothing
    call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) + 1 ), true )
endfunction

function Trig_Level_Up_Actions takes nothing returns nothing
    set bj_wantDestroyGroup = true
    call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Up_Func002001002)), function Trig_Level_Up_Func002A )
endfunction

//===========================================================================
function InitTrig_Level_Up takes nothing returns nothing
    set gg_trg_Level_Up = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Level_Up, Player(0), "+", false )
    call TriggerAddAction( gg_trg_Level_Up, function Trig_Level_Up_Actions )
endfunction

//===========================================================================
// Trigger: Level Down
//===========================================================================
function Trig_Level_Down_Func002001002 takes nothing returns boolean
    return ( IsUnitSelected(GetFilterUnit(), Player(0)) == true )
endfunction

function Trig_Level_Down_Func002A takes nothing returns nothing
    call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) - 1 ), true )
endfunction

function Trig_Level_Down_Actions takes nothing returns nothing
    set bj_wantDestroyGroup = true
    call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Down_Func002001002)), function Trig_Level_Down_Func002A )
endfunction

//===========================================================================
function InitTrig_Level_Down takes nothing returns nothing
    set gg_trg_Level_Down = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Level_Down, Player(0), "-", true )
    call TriggerAddAction( gg_trg_Level_Down, function Trig_Level_Down_Actions )
endfunction

//===========================================================================
// Trigger: Level Up Copy
//===========================================================================
function Trig_Level_Up_Copy_Func002001002 takes nothing returns boolean
    return ( IsUnitSelected(GetFilterUnit(), Player(0)) == true )
endfunction

function Trig_Level_Up_Copy_Func002A takes nothing returns nothing
    call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) + 10 ), true )
endfunction

function Trig_Level_Up_Copy_Actions takes nothing returns nothing
    set bj_wantDestroyGroup = true
    call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Up_Copy_Func002001002)), function Trig_Level_Up_Copy_Func002A )
endfunction

//===========================================================================
function InitTrig_Level_Up_Copy takes nothing returns nothing
    set gg_trg_Level_Up_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Level_Up_Copy, Player(0), "+10", false )
    call TriggerAddAction( gg_trg_Level_Up_Copy, function Trig_Level_Up_Copy_Actions )
endfunction

//===========================================================================
// Trigger: Level Down Copy
//===========================================================================
function Trig_Level_Down_Copy_Func002001002 takes nothing returns boolean
    return ( IsUnitSelected(GetFilterUnit(), Player(0)) == true )
endfunction

function Trig_Level_Down_Copy_Func002A takes nothing returns nothing
    call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) - 10 ), true )
endfunction

function Trig_Level_Down_Copy_Actions takes nothing returns nothing
    set bj_wantDestroyGroup = true
    call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Down_Copy_Func002001002)), function Trig_Level_Down_Copy_Func002A )
endfunction

//===========================================================================
function InitTrig_Level_Down_Copy takes nothing returns nothing
    set gg_trg_Level_Down_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Level_Down_Copy, Player(0), "-10", true )
    call TriggerAddAction( gg_trg_Level_Down_Copy, function Trig_Level_Down_Copy_Actions )
endfunction

//===========================================================================
// Trigger: Level Up Copy Copy
//===========================================================================
function Trig_Level_Up_Copy_Copy_Func002001002 takes nothing returns boolean
    return ( IsUnitSelected(GetFilterUnit(), Player(0)) == true )
endfunction

function Trig_Level_Up_Copy_Copy_Func002A takes nothing returns nothing
    call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) + 100 ), true )
endfunction

function Trig_Level_Up_Copy_Copy_Actions takes nothing returns nothing
    set bj_wantDestroyGroup = true
    call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Up_Copy_Copy_Func002001002)), function Trig_Level_Up_Copy_Copy_Func002A )
endfunction

//===========================================================================
function InitTrig_Level_Up_Copy_Copy takes nothing returns nothing
    set gg_trg_Level_Up_Copy_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Level_Up_Copy_Copy, Player(0), "+100", false )
    call TriggerAddAction( gg_trg_Level_Up_Copy_Copy, function Trig_Level_Up_Copy_Copy_Actions )
endfunction

//===========================================================================
// Trigger: Level Down Copy Copy
//===========================================================================
function Trig_Level_Down_Copy_Copy_Func002001002 takes nothing returns boolean
    return ( IsUnitSelected(GetFilterUnit(), Player(0)) == true )
endfunction

function Trig_Level_Down_Copy_Copy_Func002A takes nothing returns nothing
    call SetHeroLevelBJ( GetEnumUnit(), ( GetHeroLevel(GetEnumUnit()) - 100 ), true )
endfunction

function Trig_Level_Down_Copy_Copy_Actions takes nothing returns nothing
    set bj_wantDestroyGroup = true
    call ForGroupBJ( GetUnitsInRectMatching(GetPlayableMapRect(), Condition(function Trig_Level_Down_Copy_Copy_Func002001002)), function Trig_Level_Down_Copy_Copy_Func002A )
endfunction

//===========================================================================
function InitTrig_Level_Down_Copy_Copy takes nothing returns nothing
    set gg_trg_Level_Down_Copy_Copy = CreateTrigger(  )
    call TriggerRegisterPlayerChatEvent( gg_trg_Level_Down_Copy_Copy, Player(0), "-100", true )
    call TriggerAddAction( gg_trg_Level_Down_Copy_Copy, function Trig_Level_Down_Copy_Copy_Actions )
endfunction

//===========================================================================
function InitCustomTriggers takes nothing returns nothing
    call InitTrig_init(  )
    call InitTrig_Gold(  )
    call InitTrig_WOod(  )
    call InitTrig_Level(  )
    call InitTrig_Mana(  )
    call InitTrig_Life(  )
    call InitTrig_Inteligince(  )
    call InitTrig_Strength(  )
    call InitTrig_Agi(  )
    call InitTrig_Level_Up(  )
    call InitTrig_Level_Down(  )
    call InitTrig_Level_Up_Copy(  )
    call InitTrig_Level_Down_Copy(  )
    call InitTrig_Level_Up_Copy_Copy(  )
    call InitTrig_Level_Down_Copy_Copy(  )
endfunction
if u have questions , reply here <3
Bushido edit ure first post ....i took the little "cp" out correctly....

This goes under globals
Spoiler:
trigger gg_trg_init = null
trigger gg_trg_Gold = null
trigger gg_trg_WOod = null
trigger gg_trg_Level = null
trigger gg_trg_Mana = null
trigger gg_trg_Life = null
trigger gg_trg_Inteligince = null
trigger gg_trg_Strength = null
trigger gg_trg_Agi = null
trigger gg_trg_Ty_Tactics = null
This goes under endglobals
Spoiler:
//===========================================================================
// Trigger: Gold
//
// You have to be player one to cheat.... to lazy to add more oh ya this is made by chanchiem well the cheats are
//===========================================================================
function Trig_Gold_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), Player(0), PLAYER_STATE_RESOURCE_GOLD )
endfunction

//===========================================================================
function InitTrig_Gold takes nothing returns nothing
set gg_trg_Gold = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Gold, Player(0), "-gold", false )
call TriggerAddAction( gg_trg_Gold, function Trig_Gold_Actions )
endfunction

//===========================================================================
// Trigger: WOod
//
// You have to be player one to cheat.... to lazy to add more oh ya this is made by chanchiem well the cheats are
//===========================================================================
function Trig_WOod_Actions takes nothing returns nothing
call AdjustPlayerStateBJ( S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), Player(0), PLAYER_STATE_RESOURCE_LUMBER )
endfunction

//===========================================================================
function InitTrig_WOod takes nothing returns nothing
set gg_trg_WOod = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_WOod, Player(0), "-wood", false )
call TriggerAddAction( gg_trg_WOod, function Trig_WOod_Actions )
endfunction

//===========================================================================
// Trigger: Level
//
// To use this type -level "number" to change the of hero's level u want
// (no quotes)
//===========================================================================
function Trig_Level_Func001002 takes nothing returns nothing
call SetHeroLevelBJ( GetEnumUnit(), S2I(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))), false )
endfunction

function Trig_Level_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Level_Func001002 )
endfunction

//===========================================================================
function InitTrig_Level takes nothing returns nothing
set gg_trg_Level = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Level, Player(0), "-level", false )
call TriggerAddAction( gg_trg_Level, function Trig_Level_Actions )
endfunction

//===========================================================================
// Trigger: Mana
//
// type -mana to set the amount of mana u want
//===========================================================================
function Trig_Mana_Func001002 takes nothing returns nothing
call SetUnitManaBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 7, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Mana_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Mana_Func001002 )
endfunction

//===========================================================================
function InitTrig_Mana takes nothing returns nothing
set gg_trg_Mana = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Mana, Player(0), "-mana", false )
call TriggerAddAction( gg_trg_Mana, function Trig_Mana_Actions )
endfunction

//===========================================================================
// Trigger: Life
//===========================================================================
function Trig_Life_Func001002 takes nothing returns nothing
call SetUnitLifeBJ( GetEnumUnit(), S2R(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Life_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Life_Func001002 )
endfunction

//===========================================================================
function InitTrig_Life takes nothing returns nothing
set gg_trg_Life = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Life, Player(0), "-life", false )
call TriggerAddAction( gg_trg_Life, function Trig_Life_Actions )
endfunction

//===========================================================================
// Trigger: Inteligince
//
// Use -int to change the intellegince
//===========================================================================
function Trig_Inteligince_Func001002 takes nothing returns nothing
call ModifyHeroStat( bj_HEROSTAT_INT, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Inteligince_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Inteligince_Func001002 )
endfunction

//===========================================================================
function InitTrig_Inteligince takes nothing returns nothing
set gg_trg_Inteligince = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Inteligince, Player(0), "-int", false )
call TriggerAddAction( gg_trg_Inteligince, function Trig_Inteligince_Actions )
endfunction

//===========================================================================
// Trigger: Strength
//===========================================================================
function Trig_Strength_Func002002 takes nothing returns nothing
call ModifyHeroStat( bj_HEROSTAT_STR, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Strength_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Strength_Func002002 )
endfunction

//===========================================================================
function InitTrig_Strength takes nothing returns nothing
set gg_trg_Strength = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Strength, Player(0), "-str", false )
call TriggerAddAction( gg_trg_Strength, function Trig_Strength_Actions )
endfunction

//===========================================================================
// Trigger: Agi
//===========================================================================
function Trig_Agi_Func002002 takes nothing returns nothing
call ModifyHeroStat( bj_HEROSTAT_AGI, GetEnumUnit(), bj_MODIFYMETHOD_SET, S2I(SubStringBJ(GetEventPlayerChatString(), 6, StringLength(GetEventPlayerChatString()))) )
endfunction

function Trig_Agi_Actions takes nothing returns nothing
call ForGroupBJ( GetUnitsSelectedAll(Player(0)), function Trig_Agi_Func002002 )
endfunction

//===========================================================================
function InitTrig_Agi takes nothing returns nothing
set gg_trg_Agi = CreateTrigger( )
call TriggerRegisterPlayerChatEvent( gg_trg_Agi, Player(0), "-agi", false )
call TriggerAddAction( gg_trg_Agi, function Trig_Agi_Actions )
endfunction

//===========================================================================
// Trigger: Ty Tactics
//===========================================================================
function Trig_Ty_Tactics_Actions takes nothing returns nothing
call CreateTextTagUnitBJ( "TRIGSTR_6773", GetLevelingUnit(), 0, 20.00, 80.00, 80.00, 80.00, 0 )
endfunction

//===========================================================================
function InitTrig_Ty_Tactics takes nothing returns nothing
set gg_trg_Ty_Tactics = CreateTrigger( )
call TriggerRegisterTimerEventSingle( gg_trg_Ty_Tactics, 10.00 )
call TriggerAddAction( gg_trg_Ty_Tactics, function Trig_Ty_Tactics_Actions )
endfunction

//===========================================================================
function InitCustomTriggers takes nothing returns nothing
call InitTrig_init( )
call InitTrig_Gold( )
call InitTrig_WOod( )
call InitTrig_Level( )
call InitTrig_Mana( )
call InitTrig_Life( )
call InitTrig_Inteligince( )
call InitTrig_Strength( )
call InitTrig_Agi( )
call InitTrig_Ty_Tactics( )
endfunction
And Function main takes nothing returns nothing
Spoiler:
call InitCustomTriggers( )
~Everything changes~
I have met people who have no dreams, who have simply accepted their fate to work, exist, and die. They are the most miserable people I have ever known.
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: a little cheatpack..

Post by initialD »

Gripen2 wrote:
initiald wrote:Moderators are helping fullfilling people's requests.
You don't see it because you are new to this site.
Im not fucking new.Maybe you are, becaus you haven't seen me here.
Don't swear dude. That's against the rule.
Consider your post count lower than 50, that's newb.
If that's NOT count as newb. THEN YOU HAVE NO EXCUSES GIVING A STUPID COMMENT LIKE "NO MODERATORS ARE HELPING BUT XANTAN"
Doesn't that make you more idiotic?
===================================================================

About the cp.
Hm, is that another cp made by an Ex-moderator?