• 0

    posted a message on Unsolved problems in map creation

    New question:

    How do you stick an Image inside a List Box (which is a type of Dialog Item)? In theory this might be doable because you can stick assets (which includes images) into a Text variable. I essentially want a clickable dynamic list of (an icon with a string), for example, string "Iron Sword" with a small sword icon next to it.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Unsolved problems in map creation

    EDIT: #4 solved.
    What I did was make the "unit is selected" event apply to any unit, and then add a condition "Unit Type of (Triggering Unit) == <Unit Type>".

    @BasicGear: Go

    "Capturing" meaning "detecting a unit selection event".

    I know "unit is selected" can be used to pick up a specific unit (like if you preplaced a Marine [0, 0] or something). But instead of that "Marine [0,0]" I want "Any unit (whose Unit Type is Marine) on the entire map". Therein lies the problem.

    Thanks,
    - az

    Posted in: Miscellaneous Development
  • 0

    posted a message on Unsolved problems in map creation

    @ndudz: Go

    Thanks a bunch. Solution to #1 is exactly what I'm looking for.

    #3 technically works, but the idea of creating a separate child class just to flip one flag...is nauseating, and the fact that changes to the parent unit class don't automatically reflect in child classes opens up all sorts of debugging cans of worms.

    New question, #4 is up.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Unsolved problems in map creation

    Open:

    15. When duplicating an Archon in the data editor (actors, effects, and weapon), the resulting Archon copy's psionic beam animation doesn't show up while attacking. The damage works though, so I know the weapon is firing. (might have to do with beam weapons, because this also happens with the Sentry)

    12. Remove the random tip text above the progress bar in the loading screen? It's somewhat of a distraction. (notes: @RileyStarcraft: Go)

    10. Prevent < or > characters within html-style tags from screwing up Text values? For example if you wanted a text value where the < or > were colored. I've tried \< and \>, no luck there... (notes: @RileyStarcraft: Go)

    Solved:

    14. Create a secret editable box that a player can type in and submit, and not have it show for everyone? You can't. @RileyStarcraft: Go

    13. Set the collision flags or footprints of a unit or doodad programmatically? (asked by BlueRajasmyk) Solved, @RileyStarcraft: Go

    11. Set the name/prefix of player colors? I've got a dependency on a lurker-unit mod, and it totally screwed up the color names (they now say "Lurker Den:Blue" and such) when you pick them in the lobby. Closed, can't duplicate.

    9. Is there a function to retrieve which List Item was selected (from the List Box, a type of Dialog Item)? solved, @progammer: Go

    8. Allow an Ability to have 2 separate AoE effects on the same circle? When I set the ability's effects array to contain both effects, apparently only one will fire. (My Ability is of type CAbilEffectTarget and by the effects array I mean the field CAbilEffect_Effect) solved, @Klishu: Go, @gizmachu: Go

    7. Get the length of a Text variable? This is doable for Strings, but there's no Text->String conversion function. You can't. @RileyStarcraft: Go

    6. Seamlessly play a .ogg loop? It seems to have a bit of a gap on Continuous mode in a soundtrack, so I'm wondering if it's possible to shorten that gap, or even just offset the next playback by -0.2 seconds or something. Solved, @RileyStarcraft: Go

    5. Stick an Image inside a List Box (which is a type of Dialog Item)? In theory this might be doable because you can stick assets (which includes images) into a Text variable. I essentially want a clickable dynamic list of (an icon with a string), for example, string "Iron Sword" with a small sword icon next to it. You can't. @RileyStarcraft: Go

    4. Write an Event to capture: "If any Unit of type <Unit Type> is selected"? I know about the "unit is selected" event, but my problem lies in capturing based on a specific Unit Type. solved, @azalathemad: Go

    3. Set invincibility for pre-placed units without using triggers? You can't. @ndudz: Go @RileyStarcraft: Go

    2. Make a small text box on a point? Think text tags but with opaque backgrounds and not automatically center-justified. solved - it's simple, text tags have customizable background properties and alignment

    1. Make a "levelup animation" on a unit? Think something like WoW's animation, not as fancy, just something bright and visible. solved, @ndudz: Go

    Note:

    I searched for each of these and didn't get any answers. If there's an existing forum topic solving the problem, please link it and I'll read it.

    Posted in: Miscellaneous Development
  • 0

    posted a message on how to set invincibility for pre-placed units?

    @azalathemad: Go

    (bump) in theory this should be pretty simple :/

    Posted in: Miscellaneous Development
  • 0

    posted a message on how to set invincibility for pre-placed units?

    I'm used to the SC1 editor where you can hit Enter on the pre-placed unit, and tick a box marking the unit as invincible. Any way to do this in SC2, without, say, having to use a trigger to modify properties?

    Posted in: Miscellaneous Development
  • 0

    posted a message on [Trigger] How to not use GUI

    @Kestudy: Go

    Excellent. I didn't realize the input area was the ordinary-looking bottom right box.

    @x3ICEx: Any half-decent text editor or IDE would be better than this GUI tool for scripting. I think the issue, though, is that Blizz made it much more difficult than it should be to edit this file or import another .galaxy file. The only other workaround I know about is MotiveMe's, but they're both rather ugly and I'd be interested if anyone had a cleaner solution.

    Posted in: Tutorials
  • 0

    posted a message on [Trigger] How to not use GUI

    @ACB1: Go

    Can you clarify steps 2 and 3? I don't see anywhere you can actually input your custom script, which means I failed one of those two steps...or it's also possible that this method is already obsolete, in which case, can someone verify?

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