Staredit Network

Staredit Network -> UMS Assistance -> *Sigh* Another problem...
Report, edit, etc...Posted by CR_Fracture on 2006-06-06 at 16:51:15
In my game, when I try to attack my own buildings my units begin their attack animation, but stop before they do any damage. Only close-range units can hurt my own buildings. I used to have a trigger where 3 players were allied to each other (and allied to themselves) but I took away the part where they ally themselves. This is a sample of what the trigger looks like for Player 1:

CODE
Always();


SetAllianceStatus(P2, Ally);
SetAllianceStatus(P2, AlliedVictory);
SetAllianceStatus(P3, Ally);
SetAllianceStatus(P3, AlliedVictory);
SetAllianceStatus(P4, Enemy);
SetAllianceStatus(P5, Enemy);
SetAllianceStatus(P6, Enemy);
SetAllianceStatus(P7, Enemy);
SetAllianceStatus(P8, Enemy);
PreserveTrigger();
Comment("Alliance");


What's wrong?
Report, edit, etc...Posted by Noober on 2006-06-06 at 16:57:18
Well, this doesn't answer your question, but when you set to allied victory, you're automatically setting to allied, so you don't need to set allied again.
Report, edit, etc...Posted by Toothfariy on 2006-06-06 at 17:32:50
you can't attack ur own buildings... if u unally yourself, all your troops will kill each other.
Report, edit, etc...Posted by Noober on 2006-06-06 at 17:37:00
QUOTE(Toothfariy @ Jun 6 2006, 05:32 PM)
you can't attack ur own buildings...
[right][snapback]500825[/snapback][/right]

Yes you can. Select a unit, press the attack button, and click on one of your buildings.
Report, edit, etc...Posted by CR_Fracture on 2006-06-06 at 21:00:31
QUOTE(Noober @ Jun 6 2006, 05:36 PM)
Yes you can. Select a unit, press the attack button, and click on one of your buildings.
[right][snapback]500829[/snapback][/right]


That's what I do, but the units go part way through their animation and then stop. Marines, for example, point their guns and shoot, but the bullets don't hit the building. Photon cannons will rise up, then fall back down. Firebats, on the other hand, shoot their napalm or whatever and actually do damage, but the animation stops abruptly. I just need to be able to attack one of my buildings to test some triggers, I don't really care how it ends up in the final game.
Report, edit, etc...Posted by L-inspecteur_Chocolat on 2006-06-06 at 21:11:54
Try removing the setting to Allied Victory, and see what happens.

Does it really need to be preserved?
Allied victory sort of "refreshes" the alliances, so it's like allying yourself again I believe.
Report, edit, etc...Posted by Hubschrauber on 2006-06-06 at 21:12:31
Just disable the alliance triggers until the final production, see if that allows you to attack your own buildings. Maybe it's just allying in general that causes the units to stop mid-fire.
Report, edit, etc...Posted by fritfrat(U) on 2006-06-06 at 23:11:32
If you are unable to attack your own buildings with range units, that means that a trigger is running that is setting yourself to ally. There is no "set p1 to ally" in the trigger you mentioned, but I would go searching other triggers, especially under "all players" and "force x", that player 1 could be running that would set itself to ally.

By preserving the ally triggers, inspecteur, it ensures that the players cannot permanantly unally each other, and range units will not be able to attack each other.

And yes, by setting someone to allied victory, it automatically sets them to allied as well. So you don't need both.
Report, edit, etc...Posted by DevliN on 2006-06-06 at 23:23:24
Actually I noticed that even when you're playing a Melee map (as in no triggers), you have to hit attack and click your building a few times before it actually does attack it. I don't think it has anything at all to do with alliances, per se. You can still attack players you're allied to, and always have been. I think its just a change that was made in the game itself, but I may be wrong.

And yeah, ally + preserve trigger certainly prevents any damage from being done unless you keep clicking.
Report, edit, etc...Posted by Pyro_Maniak14 on 2006-06-07 at 16:40:59
You must have wait triggers. Alliance triggers can interfere when you're attacking someone elses building or your own. When you do attack another building your neutral I guess and when you have alliance triggers combined with wait triggers(0ms) then your basically permenantly allied so all you do is make your unit twitch instead of attack.
Report, edit, etc...Posted by Ice_Inferno_X3 on 2006-06-07 at 20:15:48
QUOTE(Pyro_Maniak14 @ Jun 7 2006, 04:40 PM)
You must have wait triggers. Alliance triggers can interfere when you're attacking someone elses building or your own. When you do attack another building your neutral I guess and when you have alliance triggers combined with wait triggers(0ms) then your basically permenantly allied so all you do is make your unit twitch instead of attack.
[right][snapback]501516[/snapback][/right]


make sure you don't have this trigger set under more than one player's force thing or else the waits will accumulate and **** the game up. good luck...hope you solve the problem
Report, edit, etc...Posted by l)ark_13 on 2006-06-07 at 20:44:19
&&&

You have hyper triggers, right?
Well you cant attack your own units when you have hyper triggers AND a preserve trigger.
Just remove the preserve trigger and it'll be good.
Report, edit, etc...Posted by KaboomHahahein on 2006-06-07 at 20:47:03
It does have to do with Alliance status. I've never had the problem of attacking my own units in a normal melee match. And it is not just ranged units that don't attack, it is the fast attackers that manage to attack and slow ones like marine (who need to turn their guns before fireing) who can't attack it. If you keep telling your marines to attack then they should be able to do some damage.

Next Page (1)