• 0

    posted a message on Behaviors panel

    @xxxNEARBYxxx: Go

    You could make your own using dialogs... not sure if that would do everything you need it to....... but you should be able to get most the info you would need to display from the behaviors datafields

    Posted in: UI Development
  • 0

    posted a message on Trigger to find out if there is a unit of Team A / B inside a region does not work

    @DemoniacMilk: Go

    Your use of logic.... is rather bad.......

    why would you check to see if red = blue?

    You should really show us the whole trigger.... events, variables, conditions.

    from what your showing us .... i cant even tell what your trying to accomplish.


    But yeah your first condition is set to if Red == Blue.....

    which is a really bad way about doing things since..... it would be true if both red and blue = false as well as if they are both set to true

    simple way to debug it finding units would be to do a

    Text message ( unity type of picked unit & owner of picked unit ) to debug

    Posted in: Triggers
  • 0

    posted a message on Harsh beginnings - unit editor(duplicating - dafuk?)

    @rustdragon: Go

    I suggest you avoid duplicating things.

    To create a new unit all you need to do is.

    1. Add a new unit
    2. Create an actor for the new unit.

    No duplication is required. Duplication is actually a more advanced feature IMO and it requires some knowledge of what the references in the duplicated data will be.

    http://www.sc2mapster.com/forums/resources/tutorials/5096-data-creating-new-units-easy/

    Posted in: Miscellaneous Development
  • 0

    posted a message on Dialog item (image > change image)

    @mitarskoro91: Go

    generally when you create a dialog item in a panel you dont have the options to set height and width or anchor or image settings

    it should look like this

    1. create image in panel
    2. set image size
    3. set image anchor
    4. set image image
    5. set image type

    and so on

    there's a similar action that creates a dialog item from a template in a panel that gives the additional options. I didn't have much luck when I had used that option either.

    Posted in: Triggers
  • 0

    posted a message on Is it possible to make an ability that only casts once, even if you hold the hotkey down?

    @HatsuneMikuMegurine: Go

    give the ability a cool down.

    Posted in: Data
  • 0

    posted a message on [Record Variable References] Breaking on Paste

    So I'm having some issues that are rather disappointing.

    My intent with my Open Source Leader Board was that it could be easily copied and pasted in to other maps and then slightly modified to get it up and working in a map.

    The problem is that when I paste certain parts of it into a map (SOME) of the references to record variables are broken.


    I would prefer if people not try to guess what the problems here are and leave it to people who are a bit more experienced. This appears to be a technical issue.

    I have my triggers and associated records divided into several different folders. Oddly enough the triggers in the same folder structure as the record doesn't seem to lose its variable references.

    If you look at my leader board map. You can copy The "TeamSort" lib and the "BankStats" lib with out any error messages. None of the variable references will break. So paste these into the new map. Then if you try and paste the "LeaderBoard" lib or dialog folder cant remember the name exactly off hand but when this is pasted all the references to the "TeamSort" and "BankStats" records are broken.

    I have a great deal of code written and when I paste it in it acts as if these records do not exist. But they do........

    When I paste the first "TeamSort" Lib into the map the variable pointing at the Record appears to be broken and pointing to an undefined record. So I fix that before moving on.

    The file with the triggers is here http://www.sc2mapster.com/media/attachments/32/392/OpenSourceLeaderBoard.SC2Map

    Any help on why some of these record variable references break when pasting the code would be appreciated.

    Posted in: Triggers
  • 0

    posted a message on Player-specific dialogs- how to make?
    Quote from rtschutter: Go

    Yes they do.

    Dialog - Hide (Dialog) for (All Players)

    You change the "all players" part to a "Convert player to player group" player group. Pretty much every dialog and dialog item option includes this player group setting. You can potentially have two totally different looking dialogs for two different players that are using entirely the same dialog and dialog items.

    With this in mind I recommend approaching your dialogs from an extremely organized standpoint, or they can get real confusing real quick. Make sure you use the great looking dialogs tutorials, learn how to use records and action definitions and all of that good stuff before attempting a major lobby project.

    http://www.sc2mapster.com/forums/resources/tutorials/17969-dialogs-really-great-looking-dialogs-part-1/

    If you don't you will regret it later.

    This is the correct answer.

    When responding to ui evens .... use set dialog item text = "hello world" for (convter player (triggering player) to player group)

    or set dialog item text = "hello world" for (convter player (picked player) to player group)

    Posted in: Triggers
  • 0

    posted a message on Memory Leaks ?

    @JimyStyles: Go

    get the trigger debugger running and play a game online.

    Inspect the trigger debugger info to find where your taking performance hits.

    Chances are that you have poorly written code causing a problem as the game continues.

    Posted in: Triggers
  • 0

    posted a message on Help - Radius Check

    @admielke: Go

    You dont need a periodic event or an infinite looping thread.

    What you do it...

    1. Create a behavior that does a dmg effect to all units in such a distance from the unit with the behavior.
    2. Create a trigger that has an event that detects the dmg effect from the source unit to the target unit
    3. Handle all logic at this point because you know the targeted unit is within the distance of the players unit...

    at this point you check to see how the targeted unit belongs to and so on

    easy and no infite loops

    This way logic only runs when units are actually in range to it, with out any looping.

    Posted in: Triggers
  • 0

    posted a message on 3ds Max 2010

    @Yautja31: Go

    reinstall max.... try a new model?

    Does that work?

    Posted in: Artist Tavern
  • 0

    posted a message on [Showcase] Kinky's Customs

    @ZombieZasz: Go

    You should give the warrior bug a secondary attack animation where it stands on its back legs and does a series of impaling motions, with its front legs and then upper arms.

    I can already see the marine giblets flying.


    I really like what you have there. Makes me want to work on a starship troopers map.

    Posted in: Artist Tavern
  • 0

    posted a message on Airship Map Idea: Possible??

    @Gaelidan: Go

    I have actually already attempted this with a bit of success.

    If you have any questions Id be glad to help.


    Theres plenty of games that dont use the standard top down.

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on [Question] Turn-Based Pathing System

    @thequiet: Go

    simple search came up with a bunch of stuff on this.

    Look for programer sample map

    http://www.sc2mapster.com/forums/resources/tutorials/27510-triggers-turn-based-strategy-grid-movement-setup-looking/

    chances are that it is way over your head.

    You arn't going to find a simple paste in solution.

    Posted in: Triggers
  • 0

    posted a message on [Solved]: Stacking Images and Slowly Removing Top Image

    @XxZeroxX: Go

    • Dialog
      • Background Image
      • Panel
        • Full sized filled bar image

    adjust the width of the panel to represent the value of the bar. In this the panel becomes a visible mask for the filled bar.

    panels are fun

    Posted in: Triggers
  • 0

    posted a message on Safe For Bnet Words

    @EchoedRequiem: Go

    This guy knows all about words that are bannable.

    I think he might have a safe for bnet dictionary laying around.

    http://www.facebook.com/corradi.rodrigo?fref=ts

    Thats his facebook.

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