Search results

  1. MasterRofl

    How do you make a timer window appear below the multiboard

    instead of above, when you create the timer window?
  2. MasterRofl

    Gui --> jass

    Map on second page Why does this work Revive Hero Events Time - Map_Revive_Timers[1] expires Time - Map_Revive_Timers[2] expires Time - Map_Revive_Timers[3] expires Time - Map_Revive_Timers[4] expires Time - Map_Revive_Timers[6] expires Time...
  3. MasterRofl

    Hero Respawn Trigger Help

    What makes this work scope RespawnHero private function Callback takes nothing returns nothing if ( TimerGetRemaining(udg_Map_Revive_Timers[(GetPlayerId(GetOwningPlayer(GetEnumUnit())))]) < 1.00 ) then call ReviveHeroLoc( GetEnumUnit(), GetRectCenter(gg_rct_Hero_Spawn), true )...
  4. MasterRofl

    Life Drain + Siphon Mana

    If I give a unit both of these skills, how do I make it so that when one is casted, it doesn't trigger the other?
  5. MasterRofl

    How do I stop a trigger if a unit stops channeling?

    ..solved
  6. MasterRofl

    How do I get this loop to run once every 0.2 seconds?

    private function Actions takes nothing returns nothing local location TargetPoint = GetSpellTargetLoc() local group TargetUnits local unit TargetUnit local location TargetUnitLoc local unit DummyUnit set udg_Map_TempPlayer = GetOwningPlayer(GetSpellAbilityUnit())...
  7. MasterRofl

    Dummy not casting. How do I get it to cast the same spell that is being casted?

    I'm trying to make a trigger that does the following: When hero H001 casts a spell and has buff B000, create a dummy unit. Then, add a skill to the dummy unit. The skill is the same skill that was casted by hero H001. The dummy unit is then given the order to cast the spell on the same...
  8. MasterRofl

    Forcefully removing the effect of an ability from a unit?

    I have a 65536 second faerie fire cast on a unit when he picks up an item. However, I want the faerie fire to go away when the unit drops the item. Removing the buff from the unit doesn't seem to work. Is the only way to purge the unit?
  9. MasterRofl

    Is it possible to calculate attack cooldown of a hero and display it?

    I'm looking for a trigger that can show how many times a unit attacks per minute, and was just wondering if this was possible. Thanks
  10. MasterRofl

    NewGen help. Map won't load.

    I get the following error boxes when I try to open my map:Trigger Function Does Not Exist In Database:Trigger Function Does Not Exist In Database: GetLastCreatedItem Trigger Function Does Not Exist In Database: OperatorEqual Then, WE crashes with this: I haven't touched NewGen since it...
  11. MasterRofl

    Attaching Struct In a Callback?

    How do I make it so that I can use the struct in the callback function?library NetTrap initializer Init uses ABC private struct Net unit DyingUnit group TrapGroup location TrapLocation method onDestroy takes nothing returns nothing set.TrapGroup = null...
  12. MasterRofl

    What's an example of attaching a struct to a trigger?

    Sure, I know how to attach a struct to a handle just fine, but how would you do it with a trigger? EDIT: Shoot, forgot to mention, using ABC.
  13. MasterRofl

    How do you do the GUI equivalent of "Matching Unit" conditions in JASS?

    I want to set a unit group to all the heroes within 5000 range of unit God, having less than 50% hp, and on the enemy team. What is the simplest way to do this in JASS? I'm hoping it's simpler than what GUI gives (multiple functions that filter out units). Thank you very much. ;)
  14. MasterRofl

    How do you do a condition with Or?

    I have this:private function Conds takes nothing returns boolean return GetUnitTypeId(GetAttacker()) == 'u002' return GetUnitTypeId(GetAttacker()) == 'u003' return GetUnitTypeId(GetAttacker()) == 'u000' endfunctionbut my trigger isn't working correctly, so I'm assuming that's...
  15. MasterRofl

    What would cause code that works in one map, to not work in another?

    EDIT: Whatever, I switched to ABC and it works fine... heheh... I have this:library ThrowKnife initializer ThrowKnife uses HSAS globals private constant integer SPELLID = 'A01U' private constant string SLOWSTRING = "slow" private constant integer DUMMYID = 'n00N' private...
  16. MasterRofl

    SetUnitPosition question, and my dummy unit isn't created

    My dummy unit isn't created. Timer problem? If I move a unit (pos: x,y) to pos:(x+v, y+v), would it move towards the upper right? Also, my main problem. Now, a unit is made. But the unit isn't moved. library ThrowKnife initializer ThrowKnife uses HSAS globals private constant integer...
  17. MasterRofl

    What Is A Handle?

    I want to learn how to use the HSAS in my coding, but I don't know the first thing to handles. Care to inform me please? :o
  18. MasterRofl

    A "Stifling Dagger"-like spell? [Spell Request]

    Hey there. I just started learning JASS yesterday evening, and spent roughly 6 hours trying to duplicate a stifling dagger. However, I failed pretty hard. :thdown: My attempt (warning your head will explode): So now, I'd like to see how it's done by somebody more experienced. It would be...
  19. MasterRofl

    Trigger Help Please (Syntax Error ATM)

    Yeah.. hey. I just started learning JASS today, and I've been trying to make this spell work for quite a while. Right now, I have a syntax error with these lines: location TargetLocation = GetUnitLoc( TargetUnit ) location KnifeLocation = GetUnitLoc( Knife ) P.S. How can I...
Top