fixed it. but it still not works, now no kills at all granted. i will have a small break now to eat and watch over the triggers again after. big thanks so far soulcarverr :) wasting your time for a noob like me :)
not works. when you do the first kill it jumps to 7 kills and not changes anymore... whyever. also computer player get instant 25 kills and stuff like that. any mistakes in my triggers?
seems my other thread was a bit full of problems. ;) I need to fix 1 mainproblem, to go on with my map.
I got this killtrigger to count the creepkills, and it works fine:
Event - Any Unit dies
Condition - Owner of Triggering Unit == 14
Condition - Owner of Triggerung unit != Owner of Killung unit
Condition - Or
- All User-Players in here
Actions - Variable - Modify Creepkills[0] +1
Leaderboard - Set Killboard item text at colum 3 and row (owner of (killing unit)) to (text(creepkills[0]))
NOW i want a 2nd and 3nd kill trigger. For "Kills" and "Teamkills" (2 Teams Playing facing on this map)
But i can not find the right conditions. Tryed alot. I just need a conditions that checks if killing unit =/ allied with triggering unit. but i cant find this / get it working.
Allright thanks, just startet to try to fix my triggers. i only got still some problems with the conditions, cant find the right function/preset combination. When i pick owner of unit, i not got the option to "is allied to". i will take a closer look now. and try to fix the loop after. stay tuned. thx
I got Computerplayers on slot 1 and 2 and i dont want them to be in the Leaderboard. When i use interger 3-12 my leaderboard is bugged. Showing kills in empy space over player 3 for player 1 and 2.
And i need a killtrigger that shows just kills made on the other team. but i cant find the right conditions. i tryed OR -> all user players in there. and single condition -> player from other playergroup(tryed alot there), but it just not worked, or bugged the map so that i cant test it.
i got no clue how to create a good leaderboard. Yesterday i startet watching guids and createt a simple leaderboard (link top) for my map. This Leaderboard works fine when: you got player from 1-x, all players are in the same team and you just want "kills".
My map got 2 teams with each 5 players (5on5). Each Team got 1 Computer in and i got a Zergcomputerplayer for Creepspawns.
Its like that:
Player 0: Neutral
Player 1: Team Red
Player 2: Team Blue
Player 3: User
Player 4: User
Player 5: User
Player 6: User
Player 7: User
Player 8: User
Player 9: User
Player 10: User
Player 11: User
Player 12: User
Player 13: None
Player 14: Computer (Zerg)
Player 15: Neutral 2
Player 3-7 = Team Red and Player 8-12 = Team Blue
I got nearly 300 Triggers on my map now and each work with these Players. So i cant swap the Players here.
Problem 1: I can get Player 1 and Player 2 (Computer allies from Teams) out of the Leaderboard. The "remove player from leaderbord" is not working at all. i read a small thread about that. If i set the interger 3-12 i got a bug, that there is free space in the top of the leaderbord and numbers get createt, when the Computerplayers got kills. i also got a error message, when Player 14(enemy to all zerg) kills an Hero/Unit from the Players, cause he is not in the interger range.
Problem 2: I want Creepkills (work with the killtrigger i got now) and i want Herokills - i tryed to set conditions in the kill trigger, that the triggering unit has to be from 1 of the players. but then he counts also teamkills. i tryed it with player from playergroup trigger, but everything bugged than. :( i also want teamkills in die scoreboard, but when i can get the normal herokills i know how to do that.
I thought about triggering the leaderboard for each player alone without intergers, but thats a huge amount of work and i failed the first time i tryed this, cause i got no experiance at all in creating leaderboards.
I pray i can get the leaderboard i got know working. When i can fix the two problems it should work. (removing player 1 and 2 from leaderboard and know which condition i need for a normal kill count (not all units, just other heros from the other team)
Bonus Problem:
When i am done with the leaderbord, i will start with the missions for my map and i need a small "leaderboard" to show all kills from 1 team togehter and show the overall round score... i hope i can find some help here, really getting crazy with these leaderboard. atm i am just trying, not really KNOWING what i am doing :(
Hmm, can not find any good guide for leaderboards here. Can please someone finish this guide, just to the point where the trigger get the kills and put it to the leaderboard? please :o(
i finally got my Heropicking dialog working. I ll write it down, so you can maybe help me later on with my problem.
Event
Elapsed time is 1 sec
Action
Dialog - Create dialog of size...
Variable - Set XY =(Last created dialog)
Dialog - create label for dialog...
Dialog - create button for dialog ... "hero 1"
Variable - Set Hero1 (last created dialog item)
and so on. for 7 heros + random function. 8 Buttons...
For each Player in my map i got now a trigger for each hero:
Event - Any Dialog Item is used by Player 3 with event type clicked
Condition - Used dialog item = Hero 1
Action:
Unit - Create 1 Hero1
Unit Group - Add (last created unit) to Player 1 Unitgroup
Dialog - Hide Dialog1
works all fine. my randomtrigger for the randomhero pick also works fine.
but NOW i want that after 20 sec time expires, each player which have not picked a hero to force the random pick. i tryed alot with "if then else" in the main trigger where are the buttons are made. but got some error messages in game later on... i tryed to force random for each player which has 0 supply after 20 sec... but had error msgs...
i think the problem is, that the trigger cant find out which player is active, cause it has to trigger without any player pressing dialogbuttons... any ideas how to get this forced random pick?
0
http://img824.imageshack.us/f/kill3n.jpg/
i think i got a problem with the killing player interger, cant get it -1 and owner of killing unit
0
fixed it. but it still not works, now no kills at all granted. i will have a small break now to eat and watch over the triggers again after. big thanks so far soulcarverr :) wasting your time for a noob like me :)
0
http://img600.imageshack.us/i/kills2.jpg/
hmmmm
cant get the "==" there... not avaible, wheres the mistake?
0
http://img684.imageshack.us/f/killso.jpg/
not works. when you do the first kill it jumps to 7 kills and not changes anymore... whyever. also computer player get instant 25 kills and stuff like that. any mistakes in my triggers?
0
Hi guys,
seems my other thread was a bit full of problems. ;) I need to fix 1 mainproblem, to go on with my map. I got this killtrigger to count the creepkills, and it works fine:
Event - Any Unit dies
Condition - Owner of Triggering Unit == 14 Condition - Owner of Triggerung unit != Owner of Killung unit Condition - Or - All User-Players in here
Actions - Variable - Modify Creepkills[0] +1 Leaderboard - Set Killboard item text at colum 3 and row (owner of (killing unit)) to (text(creepkills[0]))
NOW i want a 2nd and 3nd kill trigger. For "Kills" and "Teamkills" (2 Teams Playing facing on this map)
But i can not find the right conditions. Tryed alot. I just need a conditions that checks if killing unit =/ allied with triggering unit. but i cant find this / get it working.
Please help :(
0
kill trigger
Someone know how to get this trigger exactly working? (A trigger for just kills on heros of the other team)
i cant get this condition :(
0
I can not handle it. Would be nice when you could share the exact kill trigger condition with me later on when you back from work! Thanks so far!
Tarbald
0
Allright thanks, just startet to try to fix my triggers. i only got still some problems with the conditions, cant find the right function/preset combination. When i pick owner of unit, i not got the option to "is allied to". i will take a closer look now. and try to fix the loop after. stay tuned. thx
0
The screen is in the first post
http://img842.imageshack.us/f/leaderboard1.jpg
0
I got Computerplayers on slot 1 and 2 and i dont want them to be in the Leaderboard. When i use interger 3-12 my leaderboard is bugged. Showing kills in empy space over player 3 for player 1 and 2.
And i need a killtrigger that shows just kills made on the other team. but i cant find the right conditions. i tryed OR -> all user players in there. and single condition -> player from other playergroup(tryed alot there), but it just not worked, or bugged the map so that i cant test it.
0
http://img842.imageshack.us/f/leaderboard1.jpg
Allright guys,
i got no clue how to create a good leaderboard. Yesterday i startet watching guids and createt a simple leaderboard (link top) for my map. This Leaderboard works fine when: you got player from 1-x, all players are in the same team and you just want "kills".
My map got 2 teams with each 5 players (5on5). Each Team got 1 Computer in and i got a Zergcomputerplayer for Creepspawns.
Its like that:
Player 0: Neutral Player 1: Team Red Player 2: Team Blue Player 3: User Player 4: User Player 5: User Player 6: User Player 7: User Player 8: User Player 9: User Player 10: User Player 11: User Player 12: User Player 13: None Player 14: Computer (Zerg) Player 15: Neutral 2
Player 3-7 = Team Red and Player 8-12 = Team Blue
I got nearly 300 Triggers on my map now and each work with these Players. So i cant swap the Players here.
Problem 1: I can get Player 1 and Player 2 (Computer allies from Teams) out of the Leaderboard. The "remove player from leaderbord" is not working at all. i read a small thread about that. If i set the interger 3-12 i got a bug, that there is free space in the top of the leaderbord and numbers get createt, when the Computerplayers got kills. i also got a error message, when Player 14(enemy to all zerg) kills an Hero/Unit from the Players, cause he is not in the interger range.
Problem 2: I want Creepkills (work with the killtrigger i got now) and i want Herokills - i tryed to set conditions in the kill trigger, that the triggering unit has to be from 1 of the players. but then he counts also teamkills. i tryed it with player from playergroup trigger, but everything bugged than. :( i also want teamkills in die scoreboard, but when i can get the normal herokills i know how to do that.
I thought about triggering the leaderboard for each player alone without intergers, but thats a huge amount of work and i failed the first time i tryed this, cause i got no experiance at all in creating leaderboards.
I pray i can get the leaderboard i got know working. When i can fix the two problems it should work. (removing player 1 and 2 from leaderboard and know which condition i need for a normal kill count (not all units, just other heros from the other team)
Bonus Problem:
When i am done with the leaderbord, i will start with the missions for my map and i need a small "leaderboard" to show all kills from 1 team togehter and show the overall round score... i hope i can find some help here, really getting crazy with these leaderboard. atm i am just trying, not really KNOWING what i am doing :(
0
Hmm, can not find any good guide for leaderboards here. Can please someone finish this guide, just to the point where the trigger get the kills and put it to the leaderboard? please :o(
0
Gna, followed this guide and at the point where i had the problems he went to bed ;) Hope he will complete this soon
0
thanks, worked fine
0
Hi there,
i finally got my Heropicking dialog working. I ll write it down, so you can maybe help me later on with my problem.
Event
Elapsed time is 1 sec
Action
Dialog - Create dialog of size... Variable - Set XY =(Last created dialog) Dialog - create label for dialog... Dialog - create button for dialog ... "hero 1" Variable - Set Hero1 (last created dialog item)
and so on. for 7 heros + random function. 8 Buttons...
For each Player in my map i got now a trigger for each hero:
Event - Any Dialog Item is used by Player 3 with event type clicked Condition - Used dialog item = Hero 1 Action: Unit - Create 1 Hero1 Unit Group - Add (last created unit) to Player 1 Unitgroup Dialog - Hide Dialog1
works all fine. my randomtrigger for the randomhero pick also works fine.
but NOW i want that after 20 sec time expires, each player which have not picked a hero to force the random pick. i tryed alot with "if then else" in the main trigger where are the buttons are made. but got some error messages in game later on... i tryed to force random for each player which has 0 supply after 20 sec... but had error msgs...
i think the problem is, that the trigger cant find out which player is active, cause it has to trigger without any player pressing dialogbuttons... any ideas how to get this forced random pick?