• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

trigger

  1. DexterFstone

    Morphing

    Hi I download this model and create a morph ability but how to change unit animation "For clarity, the "Morph" animation is an all-purpose transformation, while Spell Gold/Lumber Alternate was meant to be used with triggers as individual transformations for their respective forms. Considering...
  2. Bloodheaven_

    [Spell] Is it possible to change the AoE-UI to a Cone one?

    Hey there, Whenever you press a Ability that has Area of Effect a circle will popout as a UI to help determine where the Area is and which units will be focused if casted. However is it possible to change the Circle to a Cone one? Example: imgur.com . Any magic trick here to solve this problem?
  3. DexterFstone

    Add and remove buff

    Hi I'm trying to make ult Jaina it's like DotA map and make a spell to add slowing for the area of ult but how to do that? (when unit move to the area of ult add a slow buff and slow MS AS and when leave remove buff and remove slow MS AS)
  4. Bubo

    Help Randomize integer.

    Hello! I'm looking for help regarding randomizing integers without it repeating the same number. So the goal is to set where people will spawn each round. So far i've set up an Integer with an Array thinking it could hold all the different numbers so when the spawn trigger is activated it can...
  5. Smokkkkker

    Is there possible to make a trigger that creates unit after dying from spell?

    Hello, I want to make a trigger that creates unit when he dies from spell. I tried to make something like this, but it didn't work. Save soul Events Unit - A unit Dies Conditions (Dying unit) Equal to (Target unit of ability being cast) (Ability being cast) Equal to Save soul Actions...
  6. DexterFstone

    Item hide

    Is it possible to hide an item on the ground for a Special player And can another see it and pick it?
  7. jsmoove

    I'm a newb and can't follow the Instructions. HELP!

    So I have been trying to implement custom ui for additional races without overwriting the original 4 races in my maps. (we have a total of 12 playable races) The latest map is linked (we are working on a custom map but the system is in this blizz map for now). I was given what seems to be great...
  8. lachferagh

    [Spell] How do I do this ability? [SOLVED]

    My concept is a passive ability where everytime he is attacked, he gains 1 Strength for 5 seconds. So like a warrior - the more people attacking him, the more strength he gets. So I want him to get this skill when he learns the spell: in this case as a test, its the devotion aura. But it's not...
  9. lachferagh

    [Spell] Abilities with triggers

    Hi all, After fiddling around with custom abilities, I thought I'd like to try making abilities through the triggers. For my first idea, I'd like to try create the Defend ability but instead of just reducing damage from piercing attack, I'd like to make the user take reduced damage from all...
  10. Amilee

    [Solved] Check If Unit Is In Combat / Use Both Attacks

    I'm trying to recreate the functionality of the sentry from TF2, and upgrading is fine and dandy, but getting the level 3 to use its bullets and rockets is apparently impossible without some trigger/scripting. Someone suggested creating a dummy unit that will spawn on the building and attack...
  11. Xzere

    Trigger problem

    Why does this simple trigger not work in multiplayer? Info Display Unit Events Player - Player 1 (Red) Selects a unit Player - Player 2 (Blue) Selects a unit Player - Player 3 (Teal) Selects a unit Player - Player 4 (Purple) Selects a unit Conditions...
  12. Xzere

    [Solved] Trigger question

    Hello guys, how do i make a trigger like this only being able to create 1 unit every 5 seconds. At this point the number on every "random integer number" could be less than 60, which would create 3 units. Which is something that i dont want too happen. Draenei Spawn Events Time -...
  13. Xzere

    [Solved] Trigger question

    Hello, how do i make a trigger like this only fire once per unit? I want the unit to gain increased stats only the first time they enter the region. Increase Unit Stats Events Unit - A unit enters Blood Elf Spawn <gen> Unit - A unit enters Draenei Spawn <gen> Unit -...
  14. FimbleTharn

    Which is More Efficient

    When it comes to triggers which use a dummy unit to cast an ability, which is more efficient? Having a dummy unit pre-placed in the editor which is moved around the map when called for by a trigger and just giving the dummy unit all the abilities it will potentially need in the object editor...
  15. Darkxs

    How to detect a lose of an item while having another one

    Hello Hive, I was wondering how one would go about making a trigger, which detects when a unit loses an item, while still having another one of said item in their inventory? I've tried this and it dosen't seem to work as intentet: Event: An unit loses an item Condition: Item being manipulated...
  16. DexterFstone

    Spells and Descriptions

    I need Spell is like skill 3 Troll warrior in DotA map, but when the hero moving and Don't damaged Level 1 - add 5 MS per sec - CD 8 sec Level 2 - add 10 MS per sec - CD 6 sec Level 3 - add 15 MS per sec - CD 4 sec Level 4 - add 20 MS per sec - CD 2 sec and when the hero takes damage or stop...
  17. HerlySQR

    [General] I'm tired of this (Workers doing action that they shouldn't do)

    I don't wanna ask for help for this because I think it will be much, but I tried everything to solve this and nothing, so I wanna ask you for help, the problem is: My map is for "stages". I have them save in a group called "Trabajadores". When a "stage" is completed, the workers have to build...
  18. DexterFstone

    upgrade units

    How to Upgrade the unit when (for example player red had 1 lumber) then upgrade hp and damage (needs to make a new custom unit?)
  19. DexterFstone

    gold

    I need trigger for when kill hero give gold when kill creep or dny give gold and when kill hero and hero has a spical item give bonus gold
  20. DexterFstone

    hero respawn

    I need trigger for hero respawn when hero dies
  21. jonathan ross

    Parasite overrides black arrow, is there any way to fix this

    I am trying to make a map where one unit type has a black arrow ability while another type has parasite, while 2 different parasite abilities do not override each other when different buffs are used, black arrow is override if it is used on unit before parasite, but both work if black arrow is...
  22. HolyWillRise

    Need Help with Diminishing Return (CC) System!

    Hello everyone, i want to balance the CC in my game to be the same like in WoW, means: If same ability is used 3 times in a row, and it has 10 sec duration, the system gonna turn it to 10+5+2.5 sec instead 10+10+10 Example: A rogue sapping u 3 times, each time the duration drops with 50% Can...
  23. HolyWillRise

    Roll The Bones ability from WoW

    Hello everyone, i am wondering if its possible to make this ability work and how? Can we just put a trigger that picks a random number between 1 and 10 everytime we click/use the ability and then for each specific number to gain different buff?
  24. HolyWillRise

    Swap system, whats missing?

    Init1 Events Player - Player 1 (Red) types a chat message containing swap as A substring Player - Player 2 (Blue) types a chat message containing swap as A substring Player - Player 3 (Teal) types a chat message containing swap as A substring Player - Player 4...
  25. HerlySQR

    Problem with a trigger

    I create this trigger to acumulate items (I really don't want doing the powerup thing), I think it is ok but it just do until "remove item being manipulated" what am I doing bad? To understand I only have 10 types of items that I wanna stack saved in a variable called "Objetos_cargado"...
  26. SouLost

    Specific unit in X range from another, condition

    Hi, I can't find a way to make this... Event: -Sylvanas dies (is in game from the start) Condition: -Arthas is in range, maybe 2500 (arthas is in a variable) Action: -wait 5 sec -Replace Sylvanas with her banshee verison under control of player 4 Thanks in advance
  27. awesem

    How to ally a player to a player that controls a unit-type?

    Hi, In my game you pick a hero and then get control of its faction. I want to make a trigger that when you pick Hero X, it will look if another player has picked Hero Y, and then ally them. I know it's easy to use condition "Unit is owned by player", however for Unit-Type this is a bit...
  28. bruunk

    [Trigger] Gargoyle Stone Form trigger troubles

    Hello, I'm trying to make a trigger that will cause all gargoyles on my map to cast stone form when the sun comes up and return to gargoyle form when the moon comes up. However, I've been having some serious troubles trying to get it to work properly. Here's what I have set up; the gargoyles...
  29. PaulieD

    Limiting trigger to occur only once till new one occurs

    Hello fellow Hivers, I want to create a unit near ressurection stone when my hero enters a certain area, so I can use the stone for reviving them. But in my map I have three heroes, hence everytime I step on the area, a new unit is created. I want to create only one unit near the stone that...
  30. JMitchy

    Issues with imported music since reforged

    Hey all, first proper post to the forums since joining so sorry if this has already been answered elswhere. So, I'm noticing a lot of issues and inconsistencies in the editor regarding using custom/imported music since the reforged update (or at least the latest patch). Originally, you would be...
  31. J2Krauser

    [Solved] Ordering a computer controlled unit to use custom Carrion Beetles

    Hi. Basically title. I know it doesn't work, the computer unit will refuse to use the ability. I also saw this exact bug referenced in a thread from 2009, so I guess it survived all the way till 2020. I tried standard GUI, also IssueImmediateOrder(unit, "carrionscarabsinstant") which is the...
  32. jsmoove

    Can I add custom UI with triggers in my current system?

    I am using the system created by Mephistrial and posted Here Blizz-Like Melee Settings For Extra Races 2.5 I am wondering if triggers could be added to implement a custom UI for each race within this system?
  33. jsmoove

    What happened to my victory condition?

    I seem to have lost the trigger that controls victory conditions (though defeat still works for some reason?) The map I based my project on has these triggers: Melee Game - Use melee time of day (for all players) Melee Game - Limit Heroes to 1 per Hero-type (for all players) Melee Game - Set...
  34. Veracius

    [Trigger] Weird unit hashtable save/load

    Hello, I'm having a bit of a trouble with a specific part of a charge trigger. Let me explain the issue here. In trigger "Rush cast" I'm saving this: Hashtable - Save Handle Of(Target unit of ability being cast) as 0 of (Key (Casting unit)) in ht_charge And in trigger "Rush loop" I'm loading...
  35. Anton Wulff Jensen

    I need to make a unit spew fire with "Trap Side Fire"

    So I'm making this boss encounter, where 6 Kobold warriors stand by the side, spewing fire, using the "Trap Side Fire" doodad. However, I want this to happen every 10 seconds, and not every 3 seconds, as the animation of the doodad does. This fire needs to deal damage of course, which I think I...
  36. Kick King

    [Trigger] How to find units grouped together around a unit

    I'm creating an AOS hero AI and so far the one thing that I haven't figured out a good way to do is have the AI find units that are grouped together to cast an AOE spell. I'm currently trying to utilize base spells ID's to get the Built in WC3 AI to make decisions but there are a few spells...
  37. Ilexa

    [Solved] Stop unit channeling (the channel ability)

    Hey I've come across a bit of a problem here. Currently in my map during a boss fight the boss will teleport to the center of the room and start channeling the dummy (channel) spell. This all goes well and good but when it's time for the phase to end I can't manage to make him stop no matter...
  38. u wot m8_

    [Solved] How do i make an upgrade change a unit's creation speed?

    I have tried to find a way to make an upgrade change a unit's creation speed for a while now. Even checked the trigger editor for such option. Couldn't find anything that has to do with the unit's creation speed though. I might've not looked close enough, but does anybody know how to make an...
  39. Dispatcher

    Custom Hero Learning Spell

    Apologies if i have double posted this but does anyone know how to trigger a hero to use the heroes unlearned skillpoints to learn it for his/her spells the spells are not exactly custom made they are just based of the default abilities inside the world editor so does anyone know how to trigger it?
  40. Ricola3D

    Is GetUnitsSelectedAll(<player>) asynchronous ?

    Hello, I made the following trigger (I use damage engine, the final purpose is to use healing potion automatically to save the hero under some conditions). AutoPotionOfGreaterHealing Events Game - DamageEvent becomes Equal to 1.00 Conditions ((Owner of...
  41. bruunk

    [Solved] Difficulty understanding loop + random integers

    Hi, I want to make a simple drop system where every time a unit dies there is a small chance to get 1 of many items at random. The items will be non-recurring (only drop once per game). I don't want them to drop in a linear format, and I think that's what I'm having the most trouble...
  42. DoomBlade

    [Solved] Drop items if they have same custom value [Reforged]

    I have searched the forum for a good 60 minutes now. Didn't find the answers I wanted. What I want to do is drop the item if the hero is already carrying an item with same custom value. Now it always drops the item == meaning the hero can never carry an item with custom value of 1. Weapon...
  43. ZeroGravity

    Spawn unit trigger leak

    I have been wondering. If I wanna spawn multiple units from 1 trigger, will these leak? Trigger 1 Testtt Events Time - Every 60.00 seconds of game time Conditions Actions Set VariableSet Point1 = (Center of (Playable map area)) Unit - Create 1 Footman for...
  44. Gibanica

    [Solved] Ensure specific unit always has intelligence stat of 0.

    I have a hero unit that basically uses 'energy' instead of mana. It recovers very quickly and mana regen and total energy can be upgraded via triggers like this. However if this unit is to acquire intellect via an item or a tome (power up) it increases its total mana breaking the overall...
  45. Stormgoddd

    [JASS] Need help with my Camera Trigger

    So, I'm new to Jass, read quite a few tutorials and feel pretty sure about the basics so far. With my current knowledge, I'm trying to create a camera trigger. That trigger is supposed to zoom out the camera of the player (should work for every player) if they type in "-+500" (without the "")...
  46. Nazujin

    Triggered Shockwave

    Hello guys. Anyone could help me to make a very simple triggered shockwave? i want to make a shockwave that deals triggered damage. "dummy damage target by STRx1.0 spell damage type"
  47. Ricola3D

    Hero switch - issues with auras still here 1-2s after teleport

    Hello, In my map (Hero Defense type) there is a mod where each player has 2 heroes but can only play once at a time. All the second heroes are paused & teleported to an out-of-range area. Whenever he want, the player can switch between heroes by selecting the 2nd one (click on portrait or F2) ...
  48. Ricola3D

    New desync cause of patch 1.32: have you experienced it ?

    Hello, After hours of debuging I found a new cause of desync since patch 1.32 (Reforged). I produced it with this system : Item Lists. I changed a few things to the map : - Remove 'building requires - buildable' in dummy units (otherwise it does not work for patch 1.32 and newer) - Add a...
  49. HerlySQR

    How works GetLocalPlayer?

    I wanna know how works the function GetLocalPlayer, because I heard that function takes the player that runs the trigger, but I proof it but always takes me incluiding if I use bots, so if you wanna explain me how really works a gonna thank you because maybe that thing happened because it takes...
  50. Dispatcher

    Enhancing Anti Magic Shell spell

    Hey guys do any of you know how to make the anti magic shell have a bonus life regeration and plus armor? Of course when casted on a unit.
Top