Hi! Littlefury here with another noobie question. I was wondering how to make it so when some1 killed a unit, but they have a partner, they would only get half the bounty amount of the unit (I used the kill resource for the waves that are being killed) My TD map is set up so you can drive solo or with 1 other partner. I would like it so if your alone, nothings changed. But if you have a partner helping, you get half the kill resource and your partner gets the other half. I'm guessing it's an "if, then, else," type of trigger with maybe a "player 'blank' kills a unit"? Something along there? Thanks for all help!
Alright, but do you know how to use this type of trigger to split the amount of player 1 recieves freom a kill resource by half, and give player 2 those minerals?
Sorry, perhaps I have to further explain. I would just like to know if there was a way to take the kill resource of a unit when player 1 kills the unit, and gives half of it to player 2. Same when player 2 kills a unit. I would like to know how to split the resources between the 2 using the kill resource of the unit. (Kill resource, for all that don't know what I mean, is in the data editor. There's a section where you click on a unit in the data editor where you can chose what the killer recieves (ex. minerals, gas, custom resource, etc.) when the unit is killed. In other words, it's bounty amount. Using the kill resource, for me, is easier.
Keep kill resource but put it to one, then it will be accurate for both players, and have this trigger as ell, but i think it will cause lag, maybe try putting this in the Data editor section
Hi! Littlefury here with another noobie question. I was wondering how to make it so when some1 killed a unit, but they have a partner, they would only get half the bounty amount of the unit (I used the kill resource for the waves that are being killed) My TD map is set up so you can drive solo or with 1 other partner. I would like it so if your alone, nothings changed. But if you have a partner helping, you get half the kill resource and your partner gets the other half. I'm guessing it's an "if, then, else," type of trigger with maybe a "player 'blank' kills a unit"? Something along there? Thanks for all help!
Sorry, I haven't gotten anwered yet :(
What about Unit Dies condition owned of killingunit = player blah give modify resource +1 for player blah and +1 for player blah
So in other words, you mean to use a unit dies condition, then an "if than else" type thing?
Event Unit DIEs:
ACtion:
IF : OWner of Killing Unit = player 1 (or whatnot)
Then: Modify player 1 resource minerals +1 Modify player 2 resource minerals +1
Alright, but do you know how to use this type of trigger to split the amount of player 1 recieves freom a kill resource by half, and give player 2 those minerals?
Sorry, perhaps I have to further explain. I would just like to know if there was a way to take the kill resource of a unit when player 1 kills the unit, and gives half of it to player 2. Same when player 2 kills a unit. I would like to know how to split the resources between the 2 using the kill resource of the unit. (Kill resource, for all that don't know what I mean, is in the data editor. There's a section where you click on a unit in the data editor where you can chose what the killer recieves (ex. minerals, gas, custom resource, etc.) when the unit is killed. In other words, it's bounty amount. Using the kill resource, for me, is easier.
Keep kill resource but put it to one, then it will be accurate for both players, and have this trigger as ell, but i think it will cause lag, maybe try putting this in the Data editor section
I'm not so good with the data editor. How would I go to putting it in?
same as before, with the 2's for kiling stuff. As you said with bounty. Unless you mean something else but I think this is way with in your abilites.