• 0

    posted a message on [data]Remove Requirements for training units

    I've spent the last hour searching this forum on how to get it to where my barracks will train a ghost without the requirements. I've been to all sorts of tech tree pages...even tried triggers. i got it to work on training Marauders but i can't get it working on Ghosts!!!

    Thanks in advance!

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Solved][Trigger] Non-specific unit triggers :L

    Solved, I was misunderstanding your instructions! Thanks for your help.

    • For those of you with the same issue, you need this: Variable - Set MyVar = (Last created unit)
    Posted in: Miscellaneous Development
  • 0

    posted a message on [Solved][Trigger] Non-specific unit triggers :L

    Ok, I see how I was overcomplicating it and now it's working.

    maybe if I explained what I'm trying to do it'll be more helpful.

    Brief Overview: The map is a normal melee map and each unit is stock. You start off with 15 marines and a probe. Your goal is to kill the other team's probe. (of course there are other factors to make this more exciting) I just need it to when the probe dies, another exact copy is made.

    With your code above; when the unit dies it creates another unit with the variable. Everything works great, but when the second created unit dies it doesn't create a new one.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Solved][Trigger] Non-specific unit triggers :L

    So let's say 2 probes get killed in an AoE blast that also kills 2 marines, 6 Thors and a zergling...how do I ensure that only the probe dying is what makes a new probe?

    I'm hella confused because i can't figure out how to make a new probe just be a probe...without it having already been on the map initially. i can set a variable PP1 to be the var for the Probe that's on the map...but I can't figure out how to make a new probe just be a probe without having to give it the initial coords of the one on the map.

    I just want to type, if it were C##

    Probe(00.1, 455.39) = global.PP1

    if (global.PP1 = dead) { create PP1 (0.001, 245.29); }

    that way it'll make a new probe with the global var already assigned to it.

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Solved][Trigger] Non-specific unit triggers :L

    Thanks for the help guys!

    SO on my map init I have p1probe = Probe [115.23, 98.47] <Unit (Constant)>

    I'm confused how to set the var to a new probe when it's created :L

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Solved][Trigger] Non-specific unit triggers :L

    So I set a trigger: (attacking unit) == Probe [115.23, 98.47] but now I need to know when Probe [115.23, 98.47] dies, I want a new probe to spawn (I got that part) but I want the new probe to also trigger the event.

    I started using this editor yesterday so I'm not very amazing yet...

    Thanks in advance :D

    if this question doesn't make sense, plz ask for more details.

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