• 0

    posted a message on Create unit in region upon like-unit death.

    Basically what I am wanting to do is to have a units of the same type created in a region when they are killed in another region.

    Example: If a zergling is killed in region 1 then a zergling is created in region 2.... or if a roach, hydralisk, baneling, etc... is killed in region 1 then a unit of the same type will be created in region 2. .

    As of now I figured out how to create a unit in one region when a unit dies in another region. Where I am having trouble is figuring out how to have the same kill/create trigger for each unit type. Right now all my killed zerg units in region 1 create the same unit type in region 2. I am sure this is simple, probably right under my nose, but I can't seem to figure it out. Thanks for any help.

    -muse

    Posted in: Triggers
  • 0

    posted a message on End Game Trigger - Continue game animations after the end game menu pops up

    Currently my end game menu pops up right as the triggering element (a structure) is destroyed. I would like the game animations to continue in the background even after the end game menu pops up. I have seen this done in other customs but can't seem to figure it out. Any help would be appreciated.

    -muse

    Posted in: Triggers
  • 0

    posted a message on Back and forth change of control

    @BasharTeg: Go

    Sorry, for not responding months ago. I started on this custom game and then life got busy. But, now I am finally having some time to devote to this custom. I have not tried your triggers yet but I am going to do so either tonight or tomorrow. Not sure if you still want feedback on the triggers you posted so long after your response but I'll let you know how it works for me anyway. I really appreciate the effort you went to to helping me.

    Thanks much,

    -muse

    Posted in: Triggers
  • 0

    posted a message on Unit Enters Region Trigger

    Here is the overview of what I am ultimately wanting. I am going to be working on a game where players fight for control of contested regions/structures that spawn support units on a repeating timer. When a player's selected unit (hero) steps into a region containing one of the structures that spawn support units a progress bar will appear above the structure showing the countdown to player group control of that structure. Basically, when one of your team members enters and stays in a region for a set number of seconds (tbd) your team gets ownership of the spawned support units from that particular structure. The game works similar to a ToW in that spawned units will be moving to attack team bases. However, the ownership of these spawn points change based on player's heroes entering and then keeping the other team from entering these regions. I hope that makes sense.

    So, here is where I am hung up. I am having trouble figuring out how to change the control when the region is being contest (within the region). If the region is "empty", meaning that no one on the other team is in the region then your hero should be able to move into the region and the countdown to ownership will simply start. However, and this where I am getting hung up, if there is an enemy hero already in the region they must leave the region (by exiting the region or dieing) before the countdown can start for you. I don't know how to create this trigger.

    I am pretty new to all this but I have figured out how to create a simple "unit enters region" to "change ownership of unit". Here is what I have so far.

    Events

    Unit - Marine [43.00, 45.00] Enters Command Center Region

    Game - Map initialization

    Local Variables

    Conditions

    (Marine [43.00, 45.00] is in Command Center Region) == Change

    Actions

    Unit - Change ownership of Command Center [22.50, 49.50] to player 1 and Change Color

    Note: I don't know if this is the proper way to handle this sort of trigger, as I figured it out on my own, so if there is a better way to do it then please let me know.

    Thanks, in advance, for any help.

    -muse

    Posted in: Triggers
  • 0

    posted a message on Back and forth change of control

    I am new to this site so you'll have to forgive me if this has already been covered. I did a search for about 5-10 min but didn't seem to find anything related to what I am wanting to do. If it has already been covered a link to the thread would be appreciated.

    Here is my concept: I have a map divided into areas containing structures with upgrades (new structures allowing for new units as well as upgrades for units). What I am wanting to do to have two teams of three battling for control of these areas in order to get the units and upgrades they want/need to beat the other team. As they enter the areas they gain control of the structure and as long as they have a unit presence they will have control but as soon as the other team destroys all the their units in the area the control of the area will switch to the other team. I hope that makes sense. My thinking is that this will sort of be like a tug of war game with a twist (only the units will be controlled directly).

    My problem is figuring out the triggers for this. Though, I have been messing with the editor for over a year now I am still relatively new to the triggers. Any help would be appreciated.

    Posted in: Triggers
  • To post a comment, please or register a new account.