Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Hypertrigger and Spawn
Hypertrigger and Spawn
Nov 16 2019, 6:22 am
By: linestine  

Nov 16 2019, 6:22 am linestine Post #1

I am using a trigger where the player brings a unit to a location. When the unit comes to the location it causes units to spawn.

Unfortunately, the spawn is happening many times. It seems the trigger is triggering like 5x instead of 1x. The change occurred when I started using hypertriggers.

Does anyone have any recommendations about how to spawn only once while using hypertriggers?


Nov 16 2019, 8:45 am GGmano Post #2

Use death count is Best. You can use switch to.

When You create the unit in trigger put condition suffered deaths of an unused unit by the player and in actions You set the suffered death by the player to 1

Player 1
If player1 bring unit to location 1
If player1 suffered 0 deaths of (cantina)
Preserve trigger
Create unit at location1 with propeties
Set deaths by player1 (cantina) to 1

Later You can set the dc(death count er) back to zero if You need reuse the trigger

If You only want 1 unit created one Time You dont need dc You can just dont use Preserve trigger in actions.

Post has been edited 2 time(s), last time on Nov 16 2019, 9:05 am by GGmano.

Trust is everything

Nov 16 2019, 9:10 am linestine Post #3

Alright thanks, I will try that tomorrow. It sounds like it will work!


  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:45 am]
Kolokol -- Okay, are both of these games referencing something else here? If so, what are they both referencing?
[05:45 am]
Kolokol -- So I am looking at the custom campaign "Legacy of the Confederation". One of the missions has references such as "Doctor Halsey" and "Noble", but the campaign was made almost 10 years before Halo Reach.
[02:55 am]
Dem0n -- ya
[02:45 am]
Wing Zero -- Ah damn it Demon
[02:03 am]
KrayZee -- Yeah, we just need 3 more. We can get a complete F if it's 4.
[10:06 pm]
jjf28 -- i'll take that advice into cooperation
[2020-2-26. : 7:43 pm]
KrayZee -- Okay, but we need other people to cooperate and not ruin it
[2020-2-26. : 6:27 pm]
Wing Zero -- Next we need to spell out F in the boxes
[2020-2-26. : 5:25 pm]
Sie_Sayoka -- the i is silent
[2020-2-26. : 4:58 pm]
NudeRaider -- for a second I thought Sie was talking about CUNTs
Please log in to shout.

Members Online: Silent7, Moose, ilecaj