Alright, at this point, I think I understand what you are trying to do.
There are almost three levels. The first is the main power supply, which allows the towers to activate. The towers then send out the SCV reparibots, feeding them energy as they heal.
Once again, not sure what has said in previous posts, but I think that I can give a basic overview of what has been said. Tell me if I am wrong...
1) The main power souce is given a search behavior, searching for all repair towers in its radius. If it finds any, it applies a behavior to the tower, enabling it to send out the SCV's.
2) The tower has a search behavior as well, searching for friendly, damaged units that need to be healed.
3) If it finds any, it will send out an SCV from its magazine, with the command set to heal.
4) When the SCV is released, the tower that sent it applies a persistant that will periodically check if the SCV has less than full energy, and if the tower has energy to give. If it does, it will give the SCV energy.
5) When there are no targets, the SCV returns and the persistant is destroyed.
Is that pretty much what you are saying?
(Also, I'm pretty sure that the SCV's are refered to as the casters, the unit they are sent to heal is the target, and the tower that sent the SCV's are the source. I am pretty sure about that, not sure if that has been said, but I figured that is pretty important information that can be confusing)
I get how to do what he is suggesting, what I don't really understand is why... Is his point that the healing tower can only heal for a certain amount of time? Kind of like a medivac, except instead of beams using SCV's?
Not quite sure what has been recommended here, so I will just say what I would do. I might just be repeating someone else, so don't get mad at me...
1) Make a magazine, and assign the SCV's as the ammo.
2) Add a search effect to the healing tower, that searches for all allied/player units in its radius. Make sure the maximum units is sent to 1.
3) If it finds a unit that fits that description, order the magazine to send out 1 SCV, with default ability as heal instead of the standard attack. Add a validator to make sure the unit has less than full health, or any other undesired traits. For that you would use target.
4) You won't need to use energy, because the magazine will control how many SCV's it has. If you want, you can edit how the SCV's are added back to the healing tower when they are destroyed. You can make it manual, or an auto-cast system. Look at the carrier's abilities/behaviors/effects to get this part right.
5) That should be it. You will want to make a validator at some point making sure that the unit is not already being healed, which would be done by applying a behavior to all units being healed.
This should work pretty well. Just make sure that the "turn off auto-cast when owner leaves" is checked. I think that is what causes the SCV's to return to the tower when there is nothing else to heal. I'm not sure on that one though.
There are some variations of this that could make it do exactly what you want it to do, but this should be basically what you want... I think.
Once again, sorry if someone already said this, I just didn't feel like reading every single post.
Rollback Post to RevisionRollBack
Great to be back and part of the community again!
To post a comment, please login or register a new account.
Alright, at this point, I think I understand what you are trying to do.
There are almost three levels. The first is the main power supply, which allows the towers to activate. The towers then send out the SCV reparibots, feeding them energy as they heal.
Once again, not sure what has said in previous posts, but I think that I can give a basic overview of what has been said. Tell me if I am wrong...
1) The main power souce is given a search behavior, searching for all repair towers in its radius. If it finds any, it applies a behavior to the tower, enabling it to send out the SCV's. 2) The tower has a search behavior as well, searching for friendly, damaged units that need to be healed. 3) If it finds any, it will send out an SCV from its magazine, with the command set to heal. 4) When the SCV is released, the tower that sent it applies a persistant that will periodically check if the SCV has less than full energy, and if the tower has energy to give. If it does, it will give the SCV energy. 5) When there are no targets, the SCV returns and the persistant is destroyed.
Is that pretty much what you are saying?
(Also, I'm pretty sure that the SCV's are refered to as the casters, the unit they are sent to heal is the target, and the tower that sent the SCV's are the source. I am pretty sure about that, not sure if that has been said, but I figured that is pretty important information that can be confusing)
Great to be back and part of the community again!
@DrSuperEvil: Go
I get how to do what he is suggesting, what I don't really understand is why... Is his point that the healing tower can only heal for a certain amount of time? Kind of like a medivac, except instead of beams using SCV's?
Great to be back and part of the community again!
@DrSuperEvil: Go
Ah, yes I was. Hmmmm. Not quite sure why that would be necessary though... Or advantageous. Eh, W/E. I tried to help, all that counts, right? hehe.
Great to be back and part of the community again!
Not quite sure what has been recommended here, so I will just say what I would do. I might just be repeating someone else, so don't get mad at me...
1) Make a magazine, and assign the SCV's as the ammo. 2) Add a search effect to the healing tower, that searches for all allied/player units in its radius. Make sure the maximum units is sent to 1. 3) If it finds a unit that fits that description, order the magazine to send out 1 SCV, with default ability as heal instead of the standard attack. Add a validator to make sure the unit has less than full health, or any other undesired traits. For that you would use target. 4) You won't need to use energy, because the magazine will control how many SCV's it has. If you want, you can edit how the SCV's are added back to the healing tower when they are destroyed. You can make it manual, or an auto-cast system. Look at the carrier's abilities/behaviors/effects to get this part right. 5) That should be it. You will want to make a validator at some point making sure that the unit is not already being healed, which would be done by applying a behavior to all units being healed.
This should work pretty well. Just make sure that the "turn off auto-cast when owner leaves" is checked. I think that is what causes the SCV's to return to the tower when there is nothing else to heal. I'm not sure on that one though.
There are some variations of this that could make it do exactly what you want it to do, but this should be basically what you want... I think.
Once again, sorry if someone already said this, I just didn't feel like reading every single post.
Great to be back and part of the community again!