• 0

    posted a message on Assigning region to triggering player?

    currently, this is my trigger:

    Buy Marine
        Events
            Unit - Any Unit Enters Buy Marine
        Local Variables
        Conditions
            (Number of Living units in (Any units in Buy Marine owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) == 3
        Actions
            Unit Group - Pick each unit in (Any units in Buy Marine owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                Actions
                    Unit - Kill (Picked unit)
                    Unit - Create 1 Marine > 3 for player (Triggering player) at (Center of Region) facing 270.0 degrees (No Options)
    

    How can i have it so that player 1, 2, 3 and four have their own region for "Triggering player"? I have the 4 regions for each player but i dont want to have to make 4 separate triggers for each player to buy this unit.

    I was wondering if I could assign the region to Player 1 and so on. Perhaps an If than statement??

    any help is appreciated!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Destroying 1 unit in region
    Quote from coronbale: Go

    @copperfront: Go

    Do what i did for my Tab Targeting - Add all the units in the region to a group. Then, kill unit 1 from that group.

    thanks for the quick and helpful solution!

    (Wish this board had a rep system!! )

    Posted in: Miscellaneous Development
  • 0

    posted a message on Destroying 1 unit in region
    Quote from Vitkar: Go

    Relatively simple

    @copperfront: Go

    Local Variables unit group name = (Empty unit group) <Unit Group> unit group name 2 = (Empty unit group) <Unit Group> Conditions Actions Unit Group - Pick each unit in (Any units in Region 001 owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions) Actions Unit Group - Add (Picked unit) to unit group name Unit Group - Add (Random Living unit from unit group name) to unit group name 2 Unit Group - Pick each unit in unit group name 2 and do (Actions) Actions Unit - Kill (Picked unit)

    One question about this trigger.

    How can i have it so that only ONE unit dies per trigger run?

    This trigger is picking all units in my region and, subsequently, killing them all.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Any way to reduce lag?

    I'm in the process of finishing my map but the photon cannons are causing too much lag. (They are stacked multiple times)

    Is there a way to reduce/remove/scale down the idle animations in order to save computer resources?

    Or is there another/better way of doing so?

    thanks guys, much help from this forum!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Destroying 1 unit in region
    Quote from Vitkar: Go

    You will never learn if you don't really try. This is the last bit of help from me in which I just show you the solution :P

    Events Unit - Any Unit Enters Region 001 Local Variables Conditions (Number of Living units in (Any units in Region 001 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) == 8 Actions Unit Group - Pick each unit in (Any units in Region 001 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions) Actions Unit - Kill (Picked unit) Unit - Create 1 "your unit" for player (Triggering player) at (Random point in Region 002) using default facing (No Options)

    thanks so much sir!!

    I do try though haha i try but can never really get it. Now that you showed me, i will never forget it!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Destroying 1 unit in region
    Quote from Vitkar: Go

    if you want more units as condition, add it as condition :>

    which condition can i use to do so? :(

    Sorry, uber noob here, i'm too used to the old editor

    Posted in: Miscellaneous Development
  • 0

    posted a message on Destroying 1 unit in region
    Quote from Vitkar: Go

    Relatively simple

    @copperfront: Go

    Local Variables unit group name = (Empty unit group) <Unit Group> unit group name 2 = (Empty unit group) <Unit Group> Conditions Actions Unit Group - Pick each unit in (Any units in Region 001 owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions) Actions Unit Group - Add (Picked unit) to unit group name Unit Group - Add (Random Living unit from unit group name) to unit group name 2 Unit Group - Pick each unit in unit group name 2 and do (Actions) Actions Unit - Kill (Picked unit)

    @copperfront: Go

    Events Unit - Any Unit Enters "your region name" Local Variables Conditions Actions Unit - Kill (Triggering unit) Unit - Create 1 "your unit" for player (Triggering player) at "your point or region" using default facing (No Options)

    perfect except for i want it to be more than 1 unit for the second trigger. as in: player brings 8 units....blah blah

    thanks alot for the reply, very appreciated

    Posted in: Miscellaneous Development
  • 0

    posted a message on Destroying 1 unit in region

    bump

    Any help would be incredibly appreciated!!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Destroying 1 unit in region

    How can I get an action to do this?

    I want it to be:

    Action:

    "Kill/destroy 1 unit for player 7 in region"

    Or anything along those lines. How can i do so? thanks alot!!

    EDIT:

    Also, how do i make the trigger for buying a unit using other units?

    example:

    Event:

    -Player x brings x number of units to region

    Action:

    -Kill triggering units

    -Create x number of "Unit" at Region for player x

    Posted in: Miscellaneous Development
  • 0

    posted a message on Quick trigger help

    bump

    Posted in: Miscellaneous Development
  • 0

    posted a message on Quick trigger help

    Or if just "Player x gains 10 minerals - -> Create unit at region + Modify P prop (minerals) to 0"

    how can i do that?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Quick trigger help

    @cstorm15: Go

    Well it's for a TD map. (I should have specified!)

    You get 1 mineral for 10 unit kills. When the player gains that mineral, I want a unit to be created at a region and set the minerals back to zero.

    (Just thinking, maybe instead just make a trigger: player x kills 10 units belonging to Player x - create unit...) Would that be easier? If so, how can I make that trigger?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Quick trigger help

    I had a trigger in the old editor that looked like this:

    Player accumulates 1 Mineral

    -Subtract 1 mineral

    -Create Unit at region

    How can i do this in the new editor? I can't seem to get it. Thanks!!!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Using the Editor Offline?
    Quote from progammer: Go

    @copperfront: Go

    Its not really everytime but quite often. The mechanics is not known yet at the moment but it sucks. May be after some patch ago they changed that

    It just sucks so bad, everytime i want to do some editing on my laptop when i'm not home, i can't.

    Blizz is really disappointing me with sc2. The publishing crap, the popularity crap, the editor. I'm hating what they are doing.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Using the Editor Offline?

    Is there a way to start the editor without having to F** login to battlenet? Why do they have to activate my copy of the editor every single time? I know that before i didn't have to, but now i do?

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