I was working on my bound map and I wanted this firebat for player 8 to hold it's posistion at this location. I want it to only attack as soon as Force 1 (players 1-6) moves in it's attack range without the firebat moveing after the units. I even had it patroll in it's own location, and it still chased my zergling when I went near it. If I used hypers and haved it move to it's own location repetively, it won't attack then.
The only way I could think of haveing it hold it's posistion is by haveing a small location that is it's boundaries and won't let it out, but it look unprofessional and I would like it to not move at all.
Any help is appreciated.
There is not. Just use the way if they leave the location they go back in. Like you already have.
this is what you do
put a unit around the unit
location around the unit*
than make the unit keep moving to that location
hehe, if you want the unit to Hold position than at a given moment, Not hold position, This is simply resolved. Use switches

.
Put a location name "Unit Halt" around your unit.
| Trigger |
| Description: |
| Hold position |
|
| Players: |
| ¤ Player that owns unit |
| Conditions: |
| ¤ Always |
| Actions: |
| ¤ Set switch "Hold position" |
Than.
| Trigger |
| Description: |
| Position is held |
|
| Players: |
| ¤ Owner |
| Conditions: |
| ¤ "Hold position" is set |
| Actions: |
¤ isue order to anyunit owned by current player at location "unit halt" move to "unit halt"
|
| ¤ preserve trigger |
To stop holding position do,
| Trigger |
| Description: |
| Stop holding |
|
| Players: |
| ¤ Owner |
| Conditions: |
| ¤ Whatever |
| Actions: |
| ¤ Clear switch "Hold position" |
The problem is getting the firebats to hold position and no that will not work. You would have understood that doesn't work because he clearly stated
QUOTE
If I used hypers and haved it move to it's own location repetively, it won't attack then.
put DTs around it?
or you can blind it...though i dunno if it works om computers(i believe they still can see thier full range, those cheating little (badword))
couldnt you put keep attacking in the same place? instead of like ordering to the same place.
i think hydra and legacy pritty much solved it
surround it by dts . Make the dt owner ally to the firebat. Also, always set the hp of the dt to 100% constantly or if ia dt dies, it will die I guess.
You can just order it to move to the location every time it leaves it. That way it has freedom to attack, but is ordered to go back when it leaves. So that it only attacks anything within it's range.
He said in the first post that was a possiblity, but it would look unprofessional to him, so he doesn't wanna us that tactic.
By moving, did you try teleporting?
Teleporting does not work if done constantly with hypers.
I suggest using chu's method with a 1x1 PIXEL location (a tiny dot in SF with the grid on 1x1 pixels).
If this doesn't disrupt anything else in your map, you could have the computer ally you until you bring a unit within a certain radius of the enemy.
The best solution i came up with is this... Instead of tons of locations over each firebat. 1 location over the water, which is unwalkable terrain.
Then have a trigger constantly moving all firebats to that location. but since it cant it will just freeze them in place. but they will be able to attack since i've used this before. And it's funny cause as you walk around out of their range.. they stair at you in every direction like scary statues.
You mean they turn and face you? That would be really helpful for my RPG.
QUOTE(TRiGGaMaSTa @ Mar 31 2005, 09:54 PM)
The best solution i came up with is this... Instead of tons of locations over each firebat. 1 location over the water, which is unwalkable terrain.
Then have a trigger constantly moving all firebats to that location. but since it cant it will just freeze them in place. but they will be able to attack since i've used this before. And it's funny cause as you walk around out of their range.. they stair at you in every direction like scary statues.
[right][snapback]177565[/snapback][/right]
Dude, THATS PERFECT! Im going to use that for my Hold Posistion, thanks allot man.