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.
[01:47 am]
KrayZee -- Maybe they have infinite energy. We see Nova quickly regenerating her energy by just putting her hands a few inches away from her head.
[01:42 am]
jjf28 -- don't they know it take two of them to kill and that's an incredibly inefficient use of science vessel energy?
[01:41 am]
jjf28 -- smh using irradiate on overlords
[05:10 pm]
Moose -- Dem0n
Dem0n shouted: fucc
Dem0n shouted: u got memed
[05:08 pm]
Dem0n -- fucc
[04:59 pm]
NudeRaider -- worth it
[04:54 pm]
Dem0n -- no
[04:42 pm]
lil-Inferno -- EZ mild infuriation
[04:42 pm]
lil-Inferno -- no take the one left of it
Please log in to shout.

Members Online: KrayZee, Dem0n, Flemy, MTiger156, jjf28