ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).
you seems very free today haxorico >_<
but anyway, thank you
Spoiler:
function Trig_Damage_Up_Func001Func002Func002C takes nothing returns boolean
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02E' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02F' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02L' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02M' ) ) then
return true
endif
return false
endfunction
function Trig_Damage_Up_Func001Func002C takes nothing returns boolean
if ( not Trig_Damage_Up_Func001Func002Func002C() ) then
return false
endif
return true
endfunction
function Trig_Damage_Up_Func001Func003C takes nothing returns boolean
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02N' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02O' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02P' ) ) then
return true
endif
if ( ( GetUnitTypeId(GetLevelingUnit()) == 'H02Q' ) ) then
return true
endif
return false
endfunction
function Trig_Damage_Up_Func001C takes nothing returns boolean
if ( not Trig_Damage_Up_Func001Func003C() ) then
return false
endif
return true
endfunction
function Trig_Damage_Up_Actions takes nothing returns nothing
if ( Trig_Damage_Up_Func001C() ) then
call SetPlayerTechResearchedSwap( 'R00G', ( GetPlayerTechCountSimple('R00G', GetOwningPlayer(GetLevelingUnit())) + 1 ), GetOwningPlayer(GetLevelingUnit()) )
else
if ( Trig_Damage_Up_Func001Func002C() ) then
call SetPlayerTechResearchedSwap( 'Remk', ( GetPlayerTechCountSimple('Remk', GetOwningPlayer(GetLevelingUnit())) + 1 ), GetOwningPlayer(GetLevelingUnit()) )
else
endif
endif
endfunction
//===========================================================================
function InitTrig_Damage_Up takes nothing returns nothing
set gg_trg_Damage_Up = CreateTrigger( )
call TriggerRegisterAnyUnitEventBJ( gg_trg_Damage_Up, EVENT_PLAYER_HERO_LEVEL )
call TriggerAddAction( gg_trg_Damage_Up, function Trig_Damage_Up_Actions )
endfunction
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).
under function main? i put under endglobals last tme, but i used syntax check of jasscraft, no error, i can play the map too, but too bad the trigger won't work, but, this is the point, i made another ability trigger, i put all under endglobals, trigger gg_trg_xxxxxx=null, it works, so confuse
It depends on the trigger, and if it is called at some point by somthing else.
For the request you posted above, follow my instructions and it should be fine, if it is so important for you that it will be at endglobals I can do it with no problems, function main is just a function like any other, it is just the first function to be executed.
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).
i just want the easy way, not only this trigger, but others also, so that i don't have to bring trouble to you often, since you are busy. that means as long as i follow your way, any trigger would be fine?
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).
i don't even know how to start =_=
i know how to read but i never know how to write, but sometimes the variable name very weird, makes me don't know how to read
No one knows how to read and write (any language) until they try and get better in time. Look at my posts here when I was starting to learn jass, I had some idiotic questions.
If you are trying to make triggers, I recommend jass, I tried making triggers with GUI and with JASS, I belive JEW PACK was made using GUI, and well it sucks.
Start making your triggers in jass. Say what you want to make and start doing it, ask for help and explenations here.
I made a video tutorial on how to make a simple CP Struct on JASS, if you want to learn, watch and make your own. And then you will start making more complex triggers.
ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).
(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:
(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.
(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).