• 0

    posted a message on (Solved) snipe cast on empty place

    @pokenoufl: Go

    Do you mean that you want it to be possible to target a point other than the zergling, or you just want it to miss every now and then?

    Posted in: Data
  • 0

    posted a message on [AoS] Rush of the Avatars

    Your terraining looks quite impressive. Did you make those tower models? And the infestor?

    Posted in: Map Feedback
  • 0

    posted a message on Shutdown Predictions

    @Stewox: Go

    Saw what twist? What "let them have it" strategy? You're just not making sense.

    Also, your little bit about making life harder is pure conspiracy. You don't lend yourself much credibility when you use a phrase like "Obama's royal administration".

    Posted in: Off-Topic
  • 0

    posted a message on Shutdown Predictions

    @joecab: Go

    I don't think that the Democrats will offer any form of concession when it comes to the Affordable Care Act. It was passed with a majority in both houses and its constitutionality upheld by the Supreme Court, AND it is projected to decrease deficits by the Congressional Budget Office.

    Just because you don't have the votes to defund/delay/repeal a piece of legislation doesn't mean that you should shut down the government, as the Republicans in the House have done. It's the direct equivalent of blackmail and for the Democrats to offer any form of concession on the matter would essentially give the Republicans a go-ahead to pull this stunt every time they didn't like something.

    Edit: I should add that it's not unlike a child throwing a temper tantrum.

    @Hookah604: Go

    I think the only way it will be avoided is if they come up with some sort of arrangement unrelated to the Affordable Care Act. Perhaps if they temporarily fund the government, or reach some sort of budget agreement. But it won't involve the ACA.

    Posted in: Off-Topic
  • 0

    posted a message on Shutdown Predictions

    Regarding the U.S.,

    I think that the government is going to default.

    I saw an article on Yahoo today that was a total joke - it said that the Senate was close to voting to end the shutdown. What it failed to mention in this headline is that the Senate has already voted (successfully) several times to end the shutdown, but it is the House that will not do so.

    Polls have shown that public opinion is that the Republicans are to blame for the shutdown (as it was them who refused to keep it open by turning what is usually a routine procedure into blackmail directed at "Obamacare"). I think that, knowing this, they will be too afraid to let the Democrats "win" even more by reopening the government without some sort of major concession (that they won't get), and so they will let the government default, which will actually end up being much worse for them (and everyone else).

    Thoughts?

    Posted in: Off-Topic
  • 0

    posted a message on To organize, or not to organize? (triggers)

    @DarcZaFire: Go

    Messy code stacked on top of itself will also prevent you entirely from implementing things that you want to later on.

    Posted in: General Chat
  • 0

    posted a message on Getting the current weapon damage

    @Scythe1250: Go

    How have you been managing without that? Hahaha.

    You do know you can do it within the Set Variable function as well, right...?

    Posted in: Triggers
  • 0

    posted a message on Getting the current weapon damage

    @Scythe1250: Go

    Don't know where the heck you're looking.

    Posted in: Triggers
  • 0

    posted a message on Getting the current weapon damage

    @Scythe1250: Go

    Should work fine. That or the code is wrong in some way.

    Posted in: Triggers
  • 0

    posted a message on Getting the current weapon damage

    @Scythe1250: Go

    The only way to do this efficiently is by trigger. Have your missile deal 0 damage with a dummy damage indicator, and have a trigger that responds to a unit taking damage from this damage indicator effect. Then calculate the damage, factoring in the caster's attribute, and deal that damage amount to the triggering unit via effect (trigger action categorized in environment).

    Mind you, the caster in this case is NOT the damaging unit - the missile is the damaging unit. You will have to determine what the casting unit was in some other way. Say it was a hero - keep all the heroes in an array, indexed by player. Then access the hero from this array using damaging player.

    Posted in: Triggers
  • 0

    posted a message on Getting the current weapon damage

    @Scythe1250: Go

    I'm sure. Just make sure that you're using it in the context of a Real value. Try setting a Real variable equal to it before making use of that variable.

    Also, it's categorized as a Unit function.

    Posted in: Triggers
  • 0

    posted a message on Why hasn't there been a DOTA styled game with SC2 like Squads?

    @Sovern: Go

    I'm really not sure how you got from DotA to "3 planetary fortresses on each side of the map, each one used to spawn different units in exchange for minerals".

    In any case, there already is a DotA style game, it's called Aeon of Storms.

    Posted in: Map Suggestions/Requests
  • 0

    posted a message on Getting the current weapon damage

    @Scythe1250: Go

    It's pretty simple. You don't need to do the catalog lookup. Just use the function "Weapon Damage". It should read something like "Maximize damage of Unit weapon 1 vs None". It returns a real value.

    Posted in: Triggers
  • 0

    posted a message on Hero Respawn Suddenly Broken

    @Zetal: Go

    What's the triggering event?

    Posted in: Triggers
  • 0

    posted a message on Hero Respawn Suddenly Broken

    @Zetal: Go

    It's possible that it's referring to your action

    Unit - Remove (Triggering unit) from the game
    

    I assume this unit is dead? Dead units should be automatically removed from the game, so you may be trying to remove a unit from the game that already has been.

    I couldn't say, though. I can't really tell what your code is doing because I don't know what Dead Hero Array is.

    There is definitely a less round-about way of doing this. Any unit that you want to be able to respawn (like a hero), give this unit a behavior with a damage response that prevents any fatal damage. At the same time that this damage response occurs, use triggers to move the hero to the respawn location, and execute any other respawn stuff you want. This way the unit also preserves any items, levels, abilities that it has already acquired.

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