• 0

    posted a message on Event On Unit kill?

    bump

    Posted in: Miscellaneous Development
  • 0

    posted a message on Event On Unit kill?

    Can't find 'dying unit'

    Condition:
    - Owner of dying unit is an enemy of Owner of killing unit

    only function that starts even with a 'D' is Damaging unit. Selecting Value 1 - owner of unit

    Posted in: Miscellaneous Development
  • 0

    posted a message on Event On Unit kill?

    trying to make a Trigger so that every time a player kills a enemy unit it adds +1 to Variable, than at 100 kills +1 Vespene Gas. I can Do must of this trigger, just trying to figure out the Even part of it any leads suggestions?

    Posted in: Miscellaneous Development
  • 0

    posted a message on How to Make a Global Variable?

    How would i make a Global Variable? i see how to make a Local one, but I can't use it in other triggers.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Trigger Help

    Didn't realize there were folder's, I'll do that instead.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Trigger Help

    Alright, well than my If /than /else wont work cause wanted to use triggering region and...

    If
    Triggering region == reapers
    than
    Create 8 blah
    Else
    If
    Triggering region == blah
    Creat 8 blah

    so on

    Posted in: Miscellaneous Development
  • 0

    posted a message on Trigger Help

    Hehe Of course, was seeing it would work just picked something and thru it into the else statement for a quick test :D

    Posted in: Miscellaneous Development
  • 0

    posted a message on Trigger Help

    Well, i realize that i could do it that way, I was trying to put all the Information for all 5 Regions into one trigger may not be possible.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Trigger Help

    I just looked to make sure and yes there is a function - Triggering Region- "Runs a Trigger when a unit enters or leaves a Region(Parameter) returns the triggering region."

    So From What I get from that is that it saves the triggering region, and should compare within the If / than / else

    Posted in: Miscellaneous Development
  • 0

    posted a message on Trigger Help

    I'm trying to figure out why this trigger isn't working...

    My goal with this trigger setup is to be able to use this event(Triggering Region). In the GE it says returns triggering region. With this i planned to create about 5 regions for instances we will say Aplha, beta, bravo. I would than create If / Than / Else statements like the ones below to spawn units for the regions.

        Events
            Unit - Any Unit Enters (Triggering region)
        Local Variables
        Conditions
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    (Triggering region) == summonreaper
                Then
                    Unit - Create 8 Reaper for player 1 at (Center of GiveRed) facing 270.0 degrees (No Options)
                Else
                    Game - End game in Victory for player 1 (Show dialogs, Show score screen)

    Any feedback on this would be great, show me what i'm doing wrong or point me in the directions. Thanks!

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