Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Units not attacking
Units not attacking
Nov 4 2016, 1:22 pm
By: MetalGear  

Nov 4 2016, 1:22 pm MetalGear Post #1



Hi guys. I have a small problem. I've created a player in my map that spawns Ghosts, Marines, Firebats, and Zerglings in specified spawn locations. Now the problem is that when I bring my unit to them, they only attack like half the time. The rest of the time they just stand there doing nothing whilst being attacked.

Does anyone know why this could be?

Thanks in advance.



None.

Nov 4 2016, 3:27 pm Azrael Post #2



If you send me the map, with information about which players are involved and the location where the problem occurs, I can tell you why it isn't working.




Nov 4 2016, 6:24 pm DarkenedFantasies Post #3

Roy's Secret Service

Yeah, if we could look at the map it would help greatly. My first guess is that the units belong to someone like Player 9? Units owned by players 9-11 can't effectively attack.




Nov 4 2016, 6:31 pm Dem0n Post #4

ᕕ( ᐛ )ᕗ

Yeah, if we could look at the map it would help greatly. My first guess is that the units belong to someone like Player 9? Units owned by players 9-11 can't effectively attack.
MetalGear's a seasoned mapper, so that's probably not the issue. :P




Nov 4 2016, 9:35 pm MetalGear Post #5



Okay I'm having a second problem now. I'm trying to upload the map, but the browser won't find the folder that I put my map in. Also when I go on bnet, I try to create game but again it won't find the folder.



None.

Nov 5 2016, 12:18 am Pr0nogo Post #6



Likely related to Windows 10 folder security settings.




Nov 5 2016, 12:22 am Swampfox Post #7



Last time I had that issue it had to do with administrator privileges. Either run scmdraft2 as admin and/or save in a different destination.



None.

Nov 5 2016, 5:16 am MetalGear Post #8



Edit: I just tested again and I have the same problem. Now the problem is with player 2 (white). The player spawns units around the map but they only attack some of the time. I've attached the map below.

Attachments:
test.scx
Hits: 5 Size: 170.65kb

Post has been edited 3 time(s), last time on Nov 5 2016, 3:02 pm by MetalGear.



None.

Nov 5 2016, 10:43 pm Butch Post #9

PROFESSIONAL MAP MAKER

I don't really have the time to go through your triggers, I went through em for a bit but I couldn't find anything super specific. Do you have any triggers where units are ordered constantly? I noticed you have triggers for setting alliances every trigger cycle. I'm not 100% sure but I'd look for things like that, which happen every cycle and disrupt a units behavior. What I do with alliances is have spots where your control units are, like for example if you have a factory for casting spells and performing actions, detect when there is a "foe" there, if it should be an ally. This is the condition you should use to reset the alliance so it only happens when someone unallies another person they should be allied to.

Basically look for stuff that happens every cycle and messes with the units. That's all I can think of. When did this problem start happening? Did it happen the first time you tested the system? Try re-writing the system in different ways.



None.

Nov 6 2016, 12:33 am DarkenedFantasies Post #10

Roy's Secret Service

The "_create mr" triggers (owned by Player 1, the ones that create Zerg Devourers) are the cause of the problem. I didn't encounter the issue anymore after deleting them. I guess you should create the Zerg Devourers for players other than 2 and 8.

If that's not possible, you could change Player 2's Marines/Firebats/Zerglings/Ultralisks to their hero unit counterparts, since only the non-hero units are affected.




Nov 8 2016, 2:47 pm MetalGear Post #11



Thanks for the help. I actually managed to fix the problem by ordering the spawn units to attack whenever a unit enters the area. Problem solved.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: Roy, jun3hong