Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Set Doodad and Create Unit bug
Set Doodad and Create Unit bug
Jan 4 2015, 10:14 am
By: LoveLess  

Jan 4 2015, 10:14 am LoveLess Post #1

Let me show you how to hump without making love.

So while I was making a map for the contest, I came across a bug that was eluding me... Set Doodad State wasn't working properly. After trial and error, I have found the cause: When you create a unit with triggers, it causes some kind of error with the Set Doodad State action. This means that anytime you create a unit in the same cycle, the game ignores the set doodad state action entirely regardless of it's position in that cycle.

The only solution I have found is to create a buffer elsewhere on the map so when you do create units, they are made in mass to mitigate the bug as much as possible. Then move the units as you need them...

Wasn't really sure where to put this since it isn't a theory or idea, but an issue that might explain why Set Doodad didn't always work when in the past (at least in my experience). I knew it was a buggy action, but this takes the cake.

Attachments:
enable state bullshit.scx
Hits: 0 Size: 36.13kb

Post has been edited 1 time(s), last time on Jan 7 2015, 5:12 am by LoveLess.



None.

Jan 8 2015, 5:09 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

You should be able to add a wait 0 in the create unit trigger to let it skip to the next trigger frame. I'm surprised that adding the create trigger after the disable trigger caused an issue.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:05 pm]
Symmetry -- 50% of strings in starcraft are references
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
Please log in to shout.


Members Online: Ultraviolet, Tableguy, RIVE