Strange Campaign Editor Error

User avatar

Topic author
Epimenides
Terran Supply Depot Clerk
Terran Supply Depot Clerk
Posts: 15
Joined: Wed Sep 16, 2015 11:33 am
Status: Offline

Strange Campaign Editor Error

Postby Epimenides » Wed Sep 16, 2015 11:37 am

Hi folks. I needs help.

When I tell a trigger to create or remove units, it always creates or removes multiples. Usally, it creates or removes double the amount I specified (e.g. 2 Zealots instead of one), but triple the amount has happened to me as well.

Is there a solution to this?

Thanks in advance.

User avatar

Church
a.k.a. the REAL Lavarinth
a.k.a. the REAL Lavarinth
Posts: 695
Joined: Tue Jun 02, 2009 6:48 pm
Location: now here, nowhere
Status: Offline

Re: Strange Campaign Editor Error

Postby Church » Fri Sep 18, 2015 10:27 am

How many players are the triggers set to? Not 100% sure as I don't ever do that, but I'm reasonably confident that affects how many units would get spawned.
StarCraft Fan Campaign Listing

Anything that can go wrong, will go wrong.


Revolta
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 225
Joined: Thu Apr 23, 2015 6:02 am
Status: Offline

Re: Strange Campaign Editor Error

Postby Revolta » Fri Sep 18, 2015 4:00 pm

Triggers that create/remove/move N units (where N is an integer) will work differently if you have more than one player selected, as church said basically the arithmetic is N times P (where P is number of players).

So if I have a trigger to spawn 6 marines at anywhere for player 1, but it's owned by players 1 and 2, then the math would look like 6x2 since there are 6 units (N) and 2 players (P). So twelve marines would spawn at anywhere instead.

If youre having trouble setting up the triggers to work just use switches and keep all spawns triggers under one player. A lot of maps have been released that use regular spawns with death cunters so you can look to those for reference, I would stay away form most campaigns though since the only one to do it in memory was Vile Egression and that handled it very poorly (hypertriggers in spawning triggers 1o1)

User avatar

Topic author
Epimenides
Terran Supply Depot Clerk
Terran Supply Depot Clerk
Posts: 15
Joined: Wed Sep 16, 2015 11:33 am
Status: Offline

Re: Strange Campaign Editor Error

Postby Epimenides » Sat Sep 19, 2015 2:53 am

Yeah, I wanna set up some base defense funmaps and programming unit spawns can be real tricky :/

I haven't quite figured it out yet, but I have a friend who helps me playtest the maps ^^


Revolta
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 225
Joined: Thu Apr 23, 2015 6:02 am
Status: Offline

Re: Strange Campaign Editor Error

Postby Revolta » Sat Sep 19, 2015 8:33 am

if you have skype I can add you and help directly, or provide a quick example map

User avatar

Topic author
Epimenides
Terran Supply Depot Clerk
Terran Supply Depot Clerk
Posts: 15
Joined: Wed Sep 16, 2015 11:33 am
Status: Offline

Re: Strange Campaign Editor Error

Postby Epimenides » Sat Sep 19, 2015 10:47 am

That's okay, thank you. I wanna figure it out myself. I like doing things my way ^^


Return to “StarCraft Discussion”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests