Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Trouble with Trigger
Trouble with Trigger
Jun 12 2008, 7:34 pm
By: Filleinconnue  

Jun 12 2008, 7:34 pm Filleinconnue Post #1



I have a slight problem with a Map I am Making for Warhammer 40,000. A Diplo like trigger where when a Player owns a Certain place it is Given Money at 0:00.
But, My problem is when the Timer rolls over - nothing happens.
¤Player 1-7
- Current Player Brings 4 Men to [_________]
- Allies Bring Nothing to [_________]
- Foes Bring Nothing to [__________]
— Give [Pylon] to Current Player at [____________]
- Preserve.

¤Player 1-7
- Countdown Timer is at 0 Sec
- Current Player Brings [Pylon] to [_____________]
- Allies / Foes do not bring exactly anything to [_________]
— Set Switch 1, Preserve

¤Players 1-7
- Countdown Timer is Exactly 0 Sec
- Switch 1 is Set
— Modify Resource amount, Add 200 Minerals
[ Clear Switch 1]
[Preserve]


This is for Control of a Pylon so that the player can get money off of controlling it at 0:00.
Anyone?



None.

Jun 12 2008, 8:37 pm Impeached Post #2



The switch trigger will only fire for P1, as the switch gets 1. set, then 2. runs for player 1 and gets cleared. Try just eliminating the switch and giving current player the minerals in the second trigger. Make sure you don't set the countdown timer back away from 0, either, until that trigger has a chance to fire for all 8 players.

Post has been edited 1 time(s), last time on Jun 12 2008, 8:59 pm by Impeached.



None.

Jun 13 2008, 10:09 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yeah the switch is redundant. Combine the last 2 triggers:

¤Player 1-7
- Countdown Timer is at most 0 Sec
- Current Player Brings [Pylon] to [_____________]
- Foes brings exactly 0 [any unit] to [_________]
— Modify Resource amount, Add 200 Minerals
[Preserve]

Also make sure the timer isn't being reset before the trigger has a chance to run.
Example scenario that could be responsible for the error:
P1 and P5 have captured a location.
Countdown timer is at 0:00
P1 fires his give money trigger
--
The Countdown reset trigger looks like this:
All Players:
Countdown timer is 0:00
Set timer to 2:00
--
=> P1 detects 0:00 and sets it to 2:00
P5 checks the give money trigger and finds the timer at 2:00 => doesn't fire.

Give the reset timer trigger to a comp player with the highest Player number (e.g. Player 8)
If you don't use comp players you need to make some sort of delay, so that the reset triggers is fired the next trigger loop.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[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.
[2026-10-09. : 1:31 am]
Ultraviolet -- Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Is it forbidden to have a large avatar?
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:
Please log in to shout.


Members Online: NudeRaider, Sie_Sayoka