Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Timings are way off, I have no clue why.
Timings are way off, I have no clue why.
Aug 11 2008, 9:31 am
By: Cinolt  

Aug 11 2008, 9:31 am Cinolt Post #1



Hello

I'll try to be as detailed as possible.

Summary of map: A 1-6 player game where the players are a marine and try to kill an overpowered ultralisk while avoiding spells he casts randomly.

Problem: Timings are way off, stuff happens before it 'could' happen, spells are supposed to be cast one at a time, but they are combined, messing up the timing also, and yes I do have hyper triggers on All Players and yes they are on the bottom.

The triggers all make sense, they just for some goddarn reason aren't executing correctly. If you could please review my map and tell me what's wrong.. it only has 58 triggers half of them being repeats. I attached it to this thread.

I added a guide so you know what does what:





You can ignore most of the ones with spells

Please helpp

Attachments:
Kill the Ultralisk.scx
Hits: 4 Size: 25.33kb



None.

Aug 11 2008, 2:01 pm LegacyWeapon Post #2



You are experiencing Wait Blocks. Specifically the last section.

Post has been edited 1 time(s), last time on Aug 11 2008, 4:01 pm by LegacyWeapon.



None.

Aug 11 2008, 3:28 pm PCFredZ Post #3



Quote from name:yoonkwun
and yes I do have hyper triggers on All Players and yes they are on the bottom.
Make the hyper triggers available only to a single player who #1 is always in the game and #2 does not have any Wait actions. You can also avoid using Wait actions for all players by using death counts.



None.

Aug 11 2008, 4:01 pm LegacyWeapon Post #4



Quote from PCFredZ
Quote from name:yoonkwun
and yes I do have hyper triggers on All Players and yes they are on the bottom.
Make the hyper triggers available only to a single player who #1 is always in the game and #2 does not have any Wait actions. You can also avoid using Wait actions for all players by using death counts.
Having hyper triggers on All Players on the bottom does the same thing. Look at his map next time you post.



None.

Aug 11 2008, 9:28 pm Cinolt Post #5



I put hyper triggers on player 7 who has no triggers, but the same results. The triggers make it so waits SHOULD run one at a time, but they don't..

Do triggers with waits run the actions truly from top to bottom? Example:
Create Marine
Kill Marine
Wait(10000)
Set Deaths(Doing Nothing=0)

During or before those 10 seconds of waiting, will it run Set Deaths? If so then wait triggers will definitely collide, that's the only explanation I can think of..

Here are the triggers I am having trouble with explanations:

After the beginning triggers happen, Boss Battle (Death Counter) and Doing Nothing (Also a Death Counter) will both become 1.

Randomize Boss (Randomize Spells)
Conditions
Deaths(P7, Exactly, 1, Boss Battle);
Deaths(P7, Exactly, 1, Doing Nothing);
Actions
SetDeaths(P7, SetTo, 0, Doing Nothing);
Order(Ultralisk, P8, Anywhere, Move, Center);
SetSwitch(Switch 10, Randomize);
SetSwitch(Switch 11, Randomize);
SetSwitch(Switch 12, Randomize);
PreserveTrigger();
Comment("Randomize Boss");
After this trigger happens, Doing Nothing = 0 so it will not repeat itself until later.

Gravity (Spell)
Conditions
Switch(Switch 10, Clear);
Switch(Switch 11, Clear);
Switch(Switch 12, Clear);
Deaths(P7, Exactly, 0, Doing Nothing);
Deaths(P7, Exactly, 1, Boss Battle);
Actions
Order(Ultralisk, P8, Anywhere, Move, Center);
CreateUnit(1, Camera, Center, P8);
KillUnit(Camera, P8);
Wait(1000);
CreateUnit(1, Camera, Center, P8);
KillUnit(Camera, P8);
Wait(1000);
CreateUnit(1, Camera, Center, P8);
KillUnit(Camera, P8);
Wait(1000);
SetDeaths(P7, SetTo, 1, Gravity Pull);
Wait(4000);
SetDeaths(P7, SetTo, 0, Gravity Pull);
SetDeaths(P7, SetTo, 1, Doing Nothing);
PreserveTrigger();
Comment("Gravity");
Nothing much here except it does the spell, the Death Count Gravity Pull just pulls players in, and it turns Doing Nothing back to 1 AT THE END so the Randomization will occur again.

7 more spells that all turn Doing Nothing back to 1

And that's pretty much it. The problem I'm getting is the spells are colliding, so the spell Gravity happens while the spell Scourge happens. It makes no sense..

Post has been edited 4 time(s), last time on Aug 11 2008, 9:59 pm by yoonkwun.



None.

Aug 11 2008, 10:07 pm Falkoner Post #6



Don't rely on the waits order working out in a certain way, it's sorta untested, I would go death counts, you'll find it's actually quite easy.



None.

Aug 11 2008, 10:12 pm Craftstar2 Post #7



Concept sounds like finalrequiem :P



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[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?
[2024-4-17. : 1:08 am]
O)FaRTy1billion[MM] -- i'll trade you mineral counts
[2024-4-16. : 5:05 pm]
Vrael -- Its simple, just send all minerals to Vrael until you have 0 minerals then your account is gone
[2024-4-16. : 4:31 pm]
Zoan -- where's the option to delete my account
[2024-4-16. : 4:30 pm]
Zoan -- goodbye forever
Please log in to shout.


Members Online: Roy, IlyaSnopchenko, Excalibur