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.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: Sie_Sayoka, Butch