• 0

    posted a message on Combat Check

    @Nugs0153: Go

    Could always use a boolean variable "var" and a trigger with the events "Unit Takes Damage" and "Unit Deals Damage" that makes var true, waits 5 seconds, then makes it false.

    Posted in: Triggers
  • 0

    posted a message on [PROBLEM] Portrait not showing.

    @WarGodz: Go

    I made a blank map, added the first line of your code, and it worked fine. Maybe you're overworking one action and it's freezing the portrait?

    Posted in: Triggers
  • 0

    posted a message on trigger questions
    Quote from aczchef: Go

    thanks guys. Add on question:i have a trigger and i dont under stand why it doesn't work "down blow"

    Events:Map initialization local variables:Ping timer = (Last started timer)<Timer> Actions:Ping the mini-map at (point 001) for (all players) over 20 seconds using color "white" Timer-Start (new timer) as a one shot timer that will expire in 12 real time seconds Timer-create a timer window for ping timer with title "End of Ping!" using remaining time (initially visible)

    P.S no conditions

    help i dont know whats wrong the window shows up with the timer but its starts at 0 and doesn't do anything

    You need to create a timer before you can do anything with it. Creating a timer variable doesn't create the timer itself - it just acts as a placeholder for timer objects should you need to access them later.

    Quote from aczchef: Go

    Add on question:how do i make some sort of a randomizer hmm what will be my example oh i have 6 text tags label 1,2,3,4,5,6 how can i be at map inzialtion display test tag but it wont be one it will be at random help?

    Math - Random Integer between 1 and 6.

    Posted in: Triggers
  • 0

    posted a message on What makes an epic space game for you?

    See what would be awesome is if someone made a 3D TPS DOTA style game.

    If you steal my idea, send me a pm and involve me in its creation. :)

    Posted in: Project Workplace
  • 0

    posted a message on Hero Revive Problem

    @Slims20: Go

    The biggest possibility then is some function is being called that will only accept values within a certain range and you are passing a variable that exceeds that range. Find the HeroDeath function (since that is apparently where the problem is occurring) and see if you can trace where the problem is coming from.

    I'm in a class right now, so if you still need help by tonight I will look at your map and see if I can find anything.

    Posted in: Triggers
  • 0

    posted a message on trigger questions

    @aczchef: Go

    A global variable can only work with functions or triggers that work with that type of variable. For example, the Text Message trigger will create a text message on a player's screen from a Text value. You cannot pass, say, a Region variable to this trigger, because Region and Text are two completely different types of variables.

    "Unit Type is UnitTypeVariable == true" would be what the variable would look like, replacing UnitTypeVariable with whatever variable you are using. When Choosing the value for the UnitTypeVariable, there is a row of buttons along the top of the window named Functions, Presets, Variables, etc. Choose the one that says Variables, and your variable should appear.

    Unless you are writing in Galaxy code (and maybe not even then), you shouldn't have any problem at all with compiling. The editor should take care of it for you.

    Posted in: Triggers
  • 0

    posted a message on redirect

    @aczchef: Go

    http://wiki.sc2mapster.com/galaxy/tutorials/

    Scroll down to the triggers section.

    Posted in: Triggers
  • 0

    posted a message on Hero Revive Problem

    @Slims20: Go

    It seems like you are accessing values of arrays that don't exist. Are there arrays in these tutorials that you didn't update to suit your needs? (a.k.a the tutorial is working with 15 heroes, but your map calls for 20. If you copied the trigger directly, then when your trigger accesses a value over 15, it freaks out.)

    There's a neat immortality behavior in the wurm mission (the second to last one where raynor goes underground). You can copy this into your map and assign it to heroes. Then you can have a trigger that "revives" heroes when they take what would normally be lethal damage.

    Posted in: Triggers
  • 0

    posted a message on trigger questions

    @aczchef: Go

    Create a Timer variable. Then in your trigger, after you make the timer, use "Set Variable" to set your Timer variable to "Last Created Timer". Use similar methods to assign variables of any type of object that you create during runtime - Dialog item: "Set Variable - Blah = Last Created Dialog Item"; etc.

    If you're going to create a lot of stuff during runtime and you want to save them to variables, you're going to be using "Last Created" things a lot.

    Local variables are variables assigned to specific triggers, and only exist for the duration of that trigger. No other trigger can access them, and they disappear as soon as their parent trigger finishes running. Global variables, however, can be accessed from any trigger at any time, and they retain their value for the duration of the map.

    I hope I understood the question correctly...

    Posted in: Triggers
  • 0

    posted a message on Making a trigger run when a button is pressed...
    Quote from grenegg: Go

    Just make an effect-instant ability that dose nothing......

    It's either this, or you design a custom UI... I'd say go with the ability method.

    Posted in: Triggers
  • 0

    posted a message on What makes up a good hero arena?

    @Keyeszx: Go

    LOTS of heroes with customization capabilities.

    My favorite hero arena in War3 was the Fireblade Arena. I have no idea how many heroes it had but it had to be close to 50. Also, when your hero got to level 10, it would evolve into a stronger version of itself. This amounts to almost 100 heroes.

    Posted in: General Chat
  • 0

    posted a message on Animated GUI

    Is there a way to make an animated GUI?

    Posted in: General Chat
  • 0

    posted a message on Unit Animation in Editor

    Is there a way to make a unit play a certain animation in the editor?

    Posted in: General Chat
  • 0

    posted a message on Complaints about the *other* * official* forum - SCREENSHOTS!

    Chrome isn't horrible, but I prefer firefox a lot more, and I almost never have a problem like this.

    Posted in: General Chat
  • 0

    posted a message on How do I make trees harvestable?

    @Azisien: Go

    Go to the text editor. Everything that has a name can be modified in there.

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