• 0

    posted a message on Winning and losing conditions

    That's great thanks, didn't know you could do that

    Posted in: Triggers
  • 0

    posted a message on how to spawn random units

    I made a quite easy random system in my map.

    Local variable: Unit type = 0<integer> actions: Variable - Set Unit type = (Random interger between 0 and 10)

    General if then do else do

    if: Unit type == 0 then: Unit - create zergling for player (triggering player) else

    if: Unit type == 1 then: Unit - create zealotfor player (triggering player)

    etc.

    Posted in: Triggers
  • 0

    posted a message on Winning and losing conditions

    Hello.

    I want to have a winning condition that makes the player with 10 wins the winner and the rest losers.

    At the moment my trigger looks like following: I have a global variable that's named wins, and a local variable that gives you +1 each time you finish the goal. and when you have 10 wins you get a Winning dialog, but what i dont understand is how i can make the rest get a deafeat dialog. I included a picture if my description wasnt clear. http://i.imgur.com/skuZl.jpg Thanks in advance!

    Posted in: Triggers
  • 0

    posted a message on Shooting through a cliff

    How would I do that? I'm quite new to the editor, would be greatful if you could point me in the right direction!

    Posted in: Data
  • 0

    posted a message on Shooting through a cliff
    Quote from Ahli634: Go

    Does "can't shoot down cliff" mean that you can't target the unit or that the missile has problems flying over cliffs/avoids cliffs?

    It means that the ability actually casts but there isnt any projectile or damage.

    and since it works when it's on flatground i assume it has to have something to do with the terrain

    @hobbidude I did try some stuff in the Movers section, for example i changed Motion phases - ignore terrain to enabled, and i changed pathing flags there, but it doesnt seem to work anyways

    Posted in: Data
  • 0

    posted a message on Shooting through a cliff

    No one? I've been messing arround with ignore terrain and Movement placement - pathing flags to no success. If i put the unit on flat ground the ability works so it's nothing wrong with it itself.

    Posted in: Data
  • 0

    posted a message on Shooting through a cliff

    Hey guys.

    I've got a building on a cliff has the yamato cannon ability. But somehow it cant shoot down the cliff, or up another cliff for that matter. Does anyone know how to make the ability avoid it checking for cliff heights?

    Thanks in advance.

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