| 04-12-2004, 01:07 AM | #1 |
Ok this is my first or second time posting in the JASS forum. But this is a must post. I am stupid when it comes to jass, but no so stupid about understanding some of the things. I took a years course in java but forgot most of it, yet I still understand how things are used. At first when I looked at them the triggers looked crazy, non GUI, so I said hey its JASS. I need help deciphering some of the things. Its highlighted in red. //=========================================================================== // Trigger: bloodred //=========================================================================== function Trig_bloodred_Func001001002001 takes nothing returns boolean return ( GetUnitTypeId(GetFilterUnit()) != 'h000' ) endfunction function Trig_bloodred_Func001001002002 takes nothing returns boolean return ( IsUnitSelected(GetFilterUnit(), GetTriggerPlayer()) == true ) endfunction function Trig_bloodred_Func001001002 takes nothing returns boolean return GetBooleanAnd( Trig_bloodred_Func001001002001(), Trig_bloodred_Func001001002002() ) endfunction function Trig_bloodred_Func001A takes nothing returns nothing call GroupAddUnitSimple( GetEnumUnit(), udg_atrakc0rzrf ) endfunction function Trig_bloodred_Actions takes nothing returns nothing call ForGroupBJ( GetUnitsOfPlayerMatching(GetTriggerPlayer(), Condition(function Trig_bloodred_Func001001002)), function Trig_bloodred_Func001A ) endfunction //=========================================================================== function InitTrig_bloodred takes nothing returns nothing set gg_trg_bloodred = CreateTrigger( ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(0), "'blood", true ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(5), "'blood", true ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(4), "'blood", true ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(1), "'blood", true ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(7), "'blood", true ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(3), "'blood", true ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(6), "'blood", true ) call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(2), "'blood", true ) call TriggerAddAction( gg_trg_bloodred, function Trig_bloodred_Actions ) endfunction Now I get that "call TriggerRegisterPlayerChatEvent( gg_trg_bloodred, Player(3), "'blood", true )" means in player three type the message "blood" then it returns true. But everything else I am clueless about. Except its idiot stuff that even someone who has opened the worldeditor once would get. Such as "Trigger:bloodred". Will you help me understand what it means? |
| 04-12-2004, 04:29 AM | #2 |
someone flame him pls... :( btw, those r just functs nothing special. |
| 04-12-2004, 03:00 PM | #3 | |
Quote:
Well if I knew what they were I wouldn't ask now would I? And why do you want to flame me? :( |
| 04-12-2004, 07:10 PM | #4 | |
Quote:
You dubble posted. Most people still ask. I don't want to flame you. Want to explain about your discovering any way of getting data into text or something like that? You make it sound like you've discovered JASS. I'm lost. Anyway :( |
| 04-12-2004, 09:30 PM | #5 |
Lol. Tell me what you are on man. What your sniffing smoking or injecting I wanna know. Its making you trip like none other. Theres one post of mine that has the question. Theres 1 thread of mine with this question. And you got me confused because I discovered JASS? Read the post again and try answering. BTW dubble = double. EDIT: If there is a double post, prove it. Pictures, link, or description on where to go. I don't care just prove your baseless accusation. And if a moderator took it off tell me you took it off. |
| 04-12-2004, 09:35 PM | #6 | |
Quote:
Good job, asshole. If you're not going to help this guy then you have no business replying. What does it matter if they are just functs? He never made them out to be special... it's just an exerpt from something bigger, like he said. I hate the immature kids on this forum. -stug. |
| 04-12-2004, 10:11 PM | #7 |
well.. ill tell you what it does. when someone types blood, its all of thier 'H000' units to a group called atrakc0rzrf... also, in jass Player(3) is really player 4 because Player(0) is player 1. mostly everything is like that in jass, start counting with 0. |
| 04-12-2004, 10:51 PM | #8 |
Ok PEON, now stop insulting people! Regarding the question: yes, basically if one of the players 1 to 8 types blood it will add all of the triggering player's units of type 'h000' (which is a custom human unit created in the object editor) and which are selected by him to that unit group |
| 04-12-2004, 11:39 PM | #9 | |
Quote:
1. Order people to flame an individual 2. Post in huge font, |
| 04-13-2004, 01:43 AM | #10 |
Thank you. Peon was that so hard to tell me what pitzer and twistar told me? Yeah thanks again. Im still trying to learn jass and came across that trigger in a map and wondered what it did. Oh vex, I have seen your work. Looks really nice. You should work for KDH for those uber spells they will need. |
| 04-13-2004, 02:20 AM | #11 | |
Quote:
nywy i wud hv nswerd cept i 2 l8 w00t - u did bubble post btw - ur origonal thread was really wacky btw - i luv big founts, if i cant use em dont give em 2 me |
| 04-13-2004, 02:22 AM | #12 | |
Quote:
|
| 04-13-2004, 07:48 AM | #13 |
now you double posted PEON and I really begin to think we should ban people like you from the forums.... |
| 04-13-2004, 07:55 PM | #14 | |
Quote:
Uh yeah it was that one but a bit off, I just fixed it. Nice grammer and spelling. "ur p0st @ 1st wuz n0t dat 1 nywy i wud hv nswerd cept i 2 l8" can someone translate? WHERE 'bubble' post you talk about. Mods please if you can look at all the removed threads you took off and see if mine was there? If you can't but remember you did it please tell me so I can be proved wrong. peon all you have right now is a baseless accusation without proof. Now if I was to say you were an idiot that should be banned I'd be right cuz I got a mod that agrees with me ^_^ . And what stug. said was true, you are probably just sore because he flamed the person that should be flamed. Although that was his opnion not mine, I don't want to sound like a Hypocrite. |
| 04-13-2004, 08:16 PM | #15 |
Ok, I'll stop it. I guess the original problem is solved. And no, I don't think someone deleted a thread here, but actually that doesn't matter, it wouldn't give him the right to flame anyway. And even if somebody creates two topics unintentionally that shouldn't be a reason for such behavior. ~closed |
