• 0

    posted a message on Model Importing Help

    Not to be "that guy" but there's an art section where you are far more likely to get a good response to this, as there are a lot of ppl doing their own modeling. That being said, importing and exporting may generate funky scaling issues. Crazy is right, you can adjust the model in the data editor, but if you want to improt it "to scale" you may need to read up on the exporter. I'd be willing to bet it has instructions on units for your scale.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Variable Scope?

    @JTG2003: Go

    player Indicies are simply an int, so you can map to a player's info using a simple indicie, so if I understand your question correctly, the answer is... all you need to keep track of is something like (int playerIndex;) and then you can as you've said get PlayerHealth of [playerIndex]

    Posted in: Galaxy Scripting
  • 0

    posted a message on [Resolved] Can you create a label type?

    I'm building a library but I cannot find how to define your own label type... I've found races and libraries and lots of other things, but right now I sort all my scripts, variables and definitions to "TBD" because it's empty of Blizz scripts... I'd like to be able to define my own label type

    Also while I'm at it... are arrays in Galaxy Dynamic or fixed in length? and if they are dynamic, is there a way to get the length of a dimension of an array (for multi dimensional arrays)???

    Posted in: Galaxy Scripting
  • 0

    posted a message on Picking up Items

    You will probably need a "unit enters region" and create a radius around the item and have it automatically "pick up" the item. You might also be able to get that behavior from a buff "if a unit gets a buff, give the unit the item and remove the buff". Those are the ways I can think of to have a unit "pick up" an item without having the player click on anything.

    Posted in: Triggers
  • 0

    posted a message on Edit Jim Raynor Attack Animation

    Without exporting-editing-importing the model, I'm gonna guess your best bet is to try to cut the animation short with a trigger or something... no idea how it'll look though.

    Posted in: Miscellaneous Development
  • 0

    posted a message on The Map Testers List

    I don't have the time right now to dedicate to a group like this, although I think it's great. I just have a recomendation.

    You should throw a spot on your list for forum names so ppl know who eachother are.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Third Person Shooter (TPS) engine - Download if you need one

    I like the engine! the boolean switch wasd based movement isn't nearly as laggy as people have been complaining about.

    Posted in: Triggers
  • 0

    posted a message on Pick each unit in pick each unit

    The first loop is unnecessary... The second loop will loop through all units within the region...

    As for why it's not working, I'd have to open the editor and check the syntax for that region you're creating.

    There is a nice region function that is a circle around a unit with radius r. Might want to look into that

    Posted in: Galaxy Scripting
  • 0

    posted a message on [Help / Trigger] Team Melee

    That's a lot of script. What error message are you getting (copy paste plz)

    Posted in: Galaxy Scripting
  • 0

    posted a message on Need help with a Unique Hero Selection Trigger.

    I have NO idea what your example is trying to accomplish...

    What I'd recomend, if you want to make a function like you are, is create a region in front of the player, select all objects in that region, calculate the angle to those objects from the center point of the region, and pick the lowest angle.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Camera angles and unit angles

    The Last viking, Tetris, and other examples of games using keyboard controls, side scrolling concepts, and other various "common" game interfaces were all done in code. This gives the creator a lot of control as well as the ability to cut out a LOT of lag. What you ask is very possible, however, in total, you are asking for a whole lot of complex code to do it "well".

    I'm not telling you to not try to make your map, but I just want to warn you that it will be difficult.

    Posted in: Galaxy Scripting
  • 0

    posted a message on [Trigger] How do i return value from action definition?

    Xav makes this point... If a function has a return value, it means you can replace the whole function with that data type in another function (you just have to konw the conditions of it's return values). This is more of a programming concept and can be difficult to understand without specific examples...

    Posted in: Galaxy Scripting
  • 0

    posted a message on Campeign AI Trigger, Why doesnt this work?

    I haven't encountered it, but there should be a seperate stat on units for the range at which they will engage an enemy (at least there was in WC3). I have to imagine this only works if the units have an AI to begin with. Are the units actively running the campaignAI?

    Posted in: Galaxy Scripting
  • 0

    posted a message on Help with open/close menu

    It's most likely because one trigger is being executed after the other, and so it unhides, hides the window. Condense the trigger to a simple "If hidden, unhide, else hide"

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Help/Functions] Creating a function

    If you could give us a little more details on what you are doing with the players we could probably better answer your question.

    That being said, here's a few things for reference.

    You can refer to a player directly via their index, and not have to loop through to find the one you want

    • Variable<int>: somePlayerIndexVariable
    • Actions:
      • Unit - Create (1) (Marine) for player (somePlayerIndexVariable) at point (100,100) facing 270 degrees (No Options)

    Also, you can loop through all players and use the "selected player" variable like this...

    • Actions:
      • Player Group - Pick each player in (All players) and do (Actions)
        • Do stuff

    Give us a little more info on what you are attempting to accomplish and we can give you more speicific help.

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