• 0

    posted a message on Issue order targeting point to unit group [Solved]

    @Doomsaloto: Go

    Found the problem. You are checking:

    If (Triggering Unit) == MarineLeader[1][1]
    

    It should be:

    If (Triggering Unit) == ReaperLeader[1][1]
    

    Just update your references and it works perfectly.

    Btw you are doing this if statement using an if statement for every single player index. It would be much easier and more efficient to just do ReaperLeader[1][Owner of (Triggering Unit)] (do the same thing with 2 and 3).

    Posted in: Triggers
  • 0

    posted a message on Issue order targeting point to unit group [Solved]

    Check your trigger that adds units to your ReaperSquad. You'll probably find that it's only adding the leader.

    Posted in: Triggers
  • 0

    posted a message on Go to nearest [creep]

    @grenegg: Go

    I have no idea if this would work since you're using modified creep and that might make things screwy, but you could make an ability modeled off of the return cargo ability. It orders the worker to go to the nearest resource point. You might be able to change it to go to the nearest creep.

    Otherwise, you would need some complex algorithm and the points of where the creep is.

    Posted in: Triggers
  • 0

    posted a message on This is so not Starcraft, but advice from peers would be nice!

    @StatusQ3: Go

    I can hear you, man. A little more than a year ago, I had to break up with my girlfriend of three years because I was leaving for college. As if the separation wasn't hard enough, she decided to come down and meet me at college, just when I had finally convinced myself that I was moved on. Several weeks later, I find out from her best friend (that went to the same college as me) that she was engaged to someone she had met and dated for two weeks. It's not the fact that she's getting married that hurts (it would sting a little bit, but I understand that she needs to move on as badly as I did) as much as the fact that two - three months after our THREE YEAR LONG relationship ended, she got married after a TWO WEEK relationship to some guy that had just randomly moved into town.

    If this isn't enough, she then messages me and says that she wants us to still be "friends" and to still "hang out". Is it just me, or is it a little creepy to be hanging out and actively seeking attention from your ex after you got married? It takes me another 4 - 6 months to tell her to stop talking to me. It was like every time I got over it, she would turn up in my life again just to drive the knife deeper. One day, she even showed up OUTSIDE MY DORM ROOM WHILE MY CURRENT GIRLFRIEND IS ALSO IN THE ROOM.

    So yeah, I don't want to call her up and vent on her to tell her to get the eff out of my life and unload everything I know think of her because out of respect for what we used to have I genuinely want her to be happy. Sorry for the rant, guys. I just feel like this needs to come out every once in a while or its going to kill me.

    Oh, and by the way, I later found out that a few months after they got married, she was "great with child". Draw off of that what you will.

    Posted in: Off-Topic
  • 0

    posted a message on clicked dialog button returns (0,0) UI coords

    @desiderius1: Go

    You can set the button to have the image you specify. Or you can write a trigger that returns the x,y of the mouse click relative to the dialog box. (MouseXInBox = AbsoluteMouseX - DialogBoxX; y found in similar manner)

    Posted in: Triggers
  • 0

    posted a message on Could someone give some advice ?

    @Zarakk: Go

    Make a global variable that keeps track of how many units you need to spawn per wave. Then each time you spawn a wave, increment the variable. Example:

    Global Integer Variable: X

    Initial Value = 3

    (Spawn wave trigger; executed every wave)

    Spawn X [unit type] at [spawn point] facing default value

    X = X + 1

    Posted in: Triggers
  • 0

    posted a message on Dialog - how do you do this?

    http://www.hiveworkshop.com/forums/starcraft-discussion-676/my-custom-ui-165533/

    This guy was working on an RPG with a custom UI, and one of the things was the borders for the dialog windows. If you download the map, you can see the triggers he used to customize the UI. He just used assets that are built-in (Battle.net assets).

    Posted in: Triggers
  • 0

    posted a message on Moving Revealer

    @NotDeadYet3: Go

    If you're talking about a triangular area of effect, all I can think of is making a line of LOS blockers with the light so that it simulates the effect, but the blockers would also effect other units, so you would have to get clever with the vision heights.

    As far as a mobile revealer, just have a revealer object that you move every 0.05 seconds or something.

    There's probably a behavior that you can create to do this much more efficiently. Ask the people in the Data forum.

    Posted in: Triggers
  • 0

    posted a message on Check if variabele exists

    @DisAs7ro: Go

    If your talking Galaxy code (if so you should place this thread in the Galaxy forum), then putting in an if statement:

    if (var != [default value])

    is just checking if a variable is instantiated yet. If a variable truly doesn't exist (hasn't been declared) then you will get an error every time. No way around this.

    If you're talking the GUI, then you can't even use a variable if it doesn't exist. You don't even get the option.

    So when you say exists, do you mean has been declared or instantiated?

    Posted in: Triggers
  • 0

    posted a message on Bank problems.

    What is your intended end result for this? If this is just an intricate way to make the hero not disappear when he dies then just copy the resurrection ability/behavior from the underground level on char or the final mission (2nd to last or last mission). A behavior-based resurrection would be insanely faster than a trigger-based resurrection anyway.

    Posted in: Triggers
  • 0

    posted a message on Can you hide creep on the minimap?

    @grenegg: Go

    The only surefire way to change its color is to create your own creep texture, and even then you would need to know how creep generation works in order to use it. You can go into the lighting editor (Windows/Lighting) to give some custom lighting effects on the creep, but colorization isn't a guarantee, and the target computer needs to be running at least medium settings to see the difference.

    Way to necro, btw.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Looking to put together a Skilled Team

    @TMMagic: Go

    Totally good on being in as backup. :D

    Posted in: Team Recruitment
  • 0

    posted a message on Weekly Terraining Exercise #21: Cityscape (1 week extension!)

    @Mozared: Go

    THANKYOUTHANKYOUTHANKYOUTHANKYOUTHANKYOU!!!!!!!!

    Posted in: Terrain
  • 0

    posted a message on Looking to put together a Skilled Team

    @TMMagic: Go

    The problem definitely isn't in the commitment. I would love to be a part of this team. The main problem is that I have several other projects that I am also committed to, and I am concerned about the amount of time I can give to each project.

    So essentially, you are talking about a survival version of Power TD?

    Posted in: Team Recruitment
  • 0

    posted a message on Trench Warfare!!

    @zelgius123: Go

    Generally I don't like combining cliffs, but it's just personal preference since combining regions into a complex shape can get time consuming. I don't know if it has any performance issues. Even if it does, the performance gain from using a region-based trigger rather than a recurring timer-based trigger would by far outweigh it. Good decision.

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