Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: What the hell is up with this?
What the hell is up with this?
May 17 2008, 1:50 am
By: Cheathunta  

May 17 2008, 1:50 am Cheathunta Post #1



I made a Sonic the Hedgehog map. I made so every time you kill a chaos emerald, you get a chaos emerald created for you at ur base. But every time that one gets created it goes:


UNPLACEABLE UNIT Chaos emerald


OVER AND OVER AGAIN!!!!


I also made it so that when 1 player gets all 7 emerlads, he gets a spacial unit. heres an example trigger:


Players: Force 2
(Metal Sonic, Eggman)


Kill:

Conditions: Player Metal Sonic, Eggman kills exactly 7 chaos emeralds

Actions: Create 1 Ultima Eggmech at location "Super Eggman" For Player 7


------------------

But when it activates the trigger,it creates 2 of that unit instead of 1. This happens with all units that get created when the players kill 7 chaos emeralds.



So, the game thinks i want to create like, 255 units when i wanna create one, and it creates 2 special units instead of 1.


What is wrong with this?



None.

May 17 2008, 2:43 am Madroc Post #2



Oh boy I remember when these exact same problems happened to me. OK I'm not sure but I think that the problem with the huge amount of chaos emeralds is that you have a "Player x (or current player) kills x amount of chaos emerald" in the conditions and a preserve trigger in the actions. If this is what you have, then that's not good. The deal is that when "player x kills x amount of chaos emerald" he has officially killed that amount of chaos emeralds for the rest of the game, so that condition is always met for the rest of the game. Unfortunately, there's no way to edit how many that player has killed, so this is a very unpopular condition :P

So what you can do to fix it is take out that preserve trigger and make one trigger for "player x kills 1 chaos emerald," one trigger for "Player x kills 2 chaos emerald," "player x kills 3 chaos emerald," and so on until 7. I hope that works for you. Otherwise you're going to have to use kill score, which is a pain in the butt to explain. Post again if the method I mention above won't work for you.

As for it creating 2 things instead of 1, I don't know what the cause of that is, but the way to solve it is to change the player to the player the action is creating the unit for and also make that action "current player" instead.
So here would be your new trigger

Players: PLAYER 7


Kill:

Conditions: Player Metal Sonic, Eggman kills exactly 7 chaos emeralds

Actions: Create 1 Ultima Eggmech at location "Super Eggman" For CURRENT PLAYER

If you don't understand what current player means (I didn't at the time I had your problem) then post again saying so.
I hope I explained well, if not post saying which part you don't understand.

Good luck!



None.

May 17 2008, 3:06 am Cheathunta Post #3



I did that formula for all the chars that get special units. Im gonna test the map out to see what happens.


I do know what "Current player" means.



None.

May 17 2008, 3:12 am DevliN Post #4

OVERWATCH STATUS GO

Quote from Cheathunter
I made a Sonic the Hedgehog map. I made so every time you kill a chaos emerald, you get a chaos emerald created for you at ur base. But every time that one gets created it goes:


UNPLACEABLE UNIT Chaos emerald


OVER AND OVER AGAIN!!!!
Are you sure there is enough room in the location for the emeralds? And what unit are you using for the emeralds?

Quote from Cheathunter
But when it activates the trigger,it creates 2 of that unit instead of 1. This happens with all units that get created when the players kill 7 chaos emeralds.



So, the game thinks i want to create like, 255 units when i wanna create one, and it creates 2 special units instead of 1.


What is wrong with this?
Okay the issue here is simple. Under players, specifically choose which players you want this to activate for. If you select a force, it will create 1 unit per player in that force. If you have 3 people in the force, it will give you 3 units, and so on.



\:devlin\: Currently Working On: \:devlin\:
My Overwatch addiction.

May 17 2008, 3:14 am Madroc Post #5



Quote from DevliN
Okay the issue here is simple. Under players, specifically choose which players you want this to activate for. If you select a force, it will create 1 unit per player in that force. If you have 3 people in the force, it will give you 3 units, and so on.

Ohhhhh that makes sense. Except not really. I wonder what blizzard was thinking on that one....



None.

May 17 2008, 3:46 am Cheathunta Post #6



Quote
Are you sure there is enough room in the location for the emeralds? And what unit are you using for the emeralds?



there is definetly enough room for the emeralds to get created. The Unit for Chaos Emerald is the Norad 2 Crashed battlecruiser.



None.

May 17 2008, 4:33 am Crackhead Post #7



Yeah, blizzard's triggers have an odd way of responding to that type of dilemma.

As for the repeating blocked unit. Firstly, make sure that the unit is created somewhere very open with plenty of space and then moved to the area you want. Secondly make sure to use kill scores or death counts to activate the trigger and not kills. When the trigger detects the event, you need to make sure that the event is canceled so that the trigger won't repeat endlessly.

Exactly 0 X(units) exists, Death Count of X Unit is Exactly X for Player X, Building Score Exactly X, etc.. These are generally the type of conditions you want for this type of trigger because you can add an action that reverses or removes the condition very easily.

Edit: Make sure to add a trigger preventing more than one Crash Norad Ship and also make sure that the location is larger than the unit.



None.

May 17 2008, 2:34 pm Flying Sagittarius Post #8



I was wondering what was up with that map...



None.

May 17 2008, 2:41 pm NudeRaider Post #9

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

Is that a question?
Because as I see it everything has been answered. Do you need clarification of the problems and solutions?




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: NudeRaider, Ultraviolet