hey I would like if you could show me quick how to make this in galaxy scripting, if someone could just make the first couple of line, I will finish it
you will need to set some sort of timer to start, when the first unit is attacked by a player, and if any other player attack it as well they will be add to the player group, when the target dies. remove the player that kill the unit from the group and give him credit for killing the unit and the rest in the player group will get assist kill.
the timer is the key. cos you don't want a player to get an assist if he just attacked him in the beginning of the map and then 20 min later the attacked unit dies and he get credit for it.
you will propperly need a player group for every player that is in the map.
exsample.
team 1
player 1. (player group 1)
player 2. (player group 2)
player 3. (player group 3)
team 2
player 4. (player group 4)
player 5. (player group 5)
player 6. (player group 6)
player 1 attacks player 4
player 1 is added to player group 4
player 2 attacks player 4
player 2 is added to player group 4
player 3 attacks player 4
player 3 is added to player group 4
case 1
player 4 survive for in till the timer expires (it is good to keep it short)(you could increase the time if the unit is attacked again before the timer expires)
remove players from player group 4
case 2
player 4 dies by player 2
remove player 2 from player group 4
give credit to player 2
add to kill count
give credit to the rest of the player in player group 4
reset player group 4
add to assist count for individual player in player group 4
hope this helps, if you got an questions feel free to ask
0
I have not done anything to the background so no suggestions or improvements needed there
0
plz delete this therad.
0
I just redo what you have done, the only change was instead of a while I used repeater forever.
I got to 344827
0
thx for reply, now i can get working xD
0
thx you so much, that was just what I was looking for. xD
0
hey I would like if you could show me quick how to make this in galaxy scripting, if someone could just make the first couple of line, I will finish it
0
Hey, title pretty much says it all.
0
Title are used for highlighting the problem, not qq/whine/trash!
0
I would redo this and make a dialog instead.
then you will be able to use this
0
yeah I noticed so I found a way to work around it, with my armor reduction
so I used another system (1,2,4,8,16...)
so it will be light on behaviours that a unit have on it.
so when my system is done (str,dec,con,int,wis,armor,abilities1-4)
they will properly have 100 behaviours on each unit. (5 units)
0
Hey got a video of my item generator so far, still pretty early but it will soon hold more item type, when I finish up some of the loss ends.
0
title pretty much says it all
0
you will need to set some sort of timer to start, when the first unit is attacked by a player, and if any other player attack it as well they will be add to the player group, when the target dies. remove the player that kill the unit from the group and give him credit for killing the unit and the rest in the player group will get assist kill.
the timer is the key. cos you don't want a player to get an assist if he just attacked him in the beginning of the map and then 20 min later the attacked unit dies and he get credit for it.
you will propperly need a player group for every player that is in the map.
exsample.
team 1
player 1. (player group 1)
player 2. (player group 2)
player 3. (player group 3)
team 2
player 4. (player group 4)
player 5. (player group 5)
player 6. (player group 6)
player 1 attacks player 4
player 1 is added to player group 4
player 2 attacks player 4
player 2 is added to player group 4
player 3 attacks player 4
player 3 is added to player group 4
case 1
player 4 survive for in till the timer expires (it is good to keep it short)(you could increase the time if the unit is attacked again before the timer expires)
remove players from player group 4
case 2
player 4 dies by player 2
remove player 2 from player group 4
give credit to player 2
add to kill count
give credit to the rest of the player in player group 4
reset player group 4
add to assist count for individual player in player group 4
hope this helps, if you got an questions feel free to ask
0
hey I know there is a max actions, you can have in one trigger.
lets say I have a shit load of switches would each of the action in every single case count, or just the count it runs through.
0
hey sc2mapsters
I got a problem, I need a function that can read part of a string
example
string "1234-5678-9102"
then I want an function that can take the middle part only (5678)
hope you guys can help me.