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.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[01:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: Brarfvffk01