• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

trigger

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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?
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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?
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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 "")...
  20. 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"
  21. 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) ...
  22. 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...
  23. 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...
  24. 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.
  25. Xzere

    Respawn System Problems

    Hello, i followed this tutorial on how to make something mui with waits, but this respawn system that i made apparently does not work properly. Did i do it wrong or is this just the wrong way of doing it? Source: MUI Triggers with Waits A Hero Dies Events Unit - A unit Dies...
  26. HerlySQR

    [General] How to reffer the builder in triggers?

    When a unit build an structure, how can I refer to the constructor in the trigger?
  27. ZeroGravity

    Need help with resurrect all dead ally heroes trigger?

    So I don't know where to start with this trigger. I do have resurrect one ally hero ability though which is this one. Hero Revive 1 Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Death Negater (Revive Ability) Actions...
  28. Xzere

    [General] Mui trigger issues

    Hello, i'm having some issues with these triggers, they function properly when playing alone but with multiple people it's very buggy. What's the problem right here? Gaining a level inst Events Unit - A unit Gains a level Conditions Actions Set VariableSet...
  29. Bgreat

    Item ability

    Hi everyone, I was making items ability and got stuck. The ideal is to create item with hero ability. So when player buy the item from shop they can use the ability of that item once then It will disappear. what I did: - create ability - create item with that ability - create a shop that sell...
  30. ravellani

    [Solved] Temporary Damage Boost

    I have an Item called Mutant blood that has a dummy spell on it. The idea is when it is used, it causes the user to do 10 more damage for 60 seconds. What is the best way to do this? The way I have it now is this trigger. Disable Mutant Blood Events Map initialization...
  31. RedWing

    Reforged about custom triggers

    I'm from Korea. I was using custom triggers on Reforged But after this update, I can't use custom triggers I can see only default triggers and English texts in the editor. Most people have the same problem. Anyone knows about this problem???
  32. Dispatcher

    Problem with Unit Spawn and move

    Hello guys i have a problem here in my WE i have created a Unit - Spawn in my map i learned it on youtube and when i tested it works! But i have a few problem related to that No.1 when my units go to the region where they attack which the region is in the middle of my base they sometimes just...
  33. bruunk

    [Solved] Do I need to destroy this group to remove leaks?

    Hi, I'm just wondering if my unit group is stored in a variable do I still need to use the "BJ_wantdestroygroup" function. This is the trigger I'm curious about: SS SoulGroupCheck Events Time - Every 1.33 seconds of game time Conditions Actions Unit Group - Pick...
  34. Gibanica

    [General] Begin mana drain when shape-shifted....?

    Hey all. Never posted here so soz if it's in wrong place... I have a hero unit that is able to shape shift into a bear using the tinker ability (which all works fine). Basically, when in this 'bear' form I would like it to consume mana the entire time (lets say 3% a second for arguments sake)...
  35. Dispatcher

    Adding Periodic resources in my ai

    Just a quick question how do i add periodic resources on my ai like when the ai has 100 gold and lumber it resets to 1000 gold and lumber?
  36. Twizz

    AoE Damage Spell using trigger

    I'm creating a spell that creates an area and continuously damages enemies inside. It works perfectly on single unit but halves the damage when more than single unit goes in. Any way to fix this? I'm new to triggers.
  37. Cheshire

    [Solved] spell isn't working

    hey there, here is a spell I made which is supposed to create a ward that saps gold from owners of nearby buildings. It's not working. (using bribe's unit indexer). bank tunnel Events Unit - A unit enters (Playable map area) Conditions (Unit-type of (Triggering unit))...
  38. ravellani

    Region Trigger Help

    Can somebody explain why these triggers wont work? The first one creates the point and moves the regions but it wont add the units to the unit group when they enter/leave the regions. WHy would the unit enters/leaves a region event not work? Acid Rain Events Player - Player 1 (Red)...
  39. ravellani

    Region Help

    Can somebody explain why these triggers wont work? The first one creates the point and moves the regions but it wont add the units to the unit group when they enter/leave the regions. Acid Rain Events Player - Player 1 (Red) types a chat message containing -test as An exact match...
  40. Dispatcher

    Triggering a spell

    Can somebody tell me how to trigger a hero to siphon mana a unit or a hero when its mana pool is below 400?
  41. Dispatcher

    Changing the Weather or Environment in my map

    Can anyone pls show me how to change the weather in my map possible that you would have to use triggers and can someone pls send the triggers of changing weather effects?
  42. bruunk

    [Trigger] Need help inverting Backstab Trigger

    Hi, I want to make a skill like Rikis Backstab from dota 2, but instead of the back it would do the effect if the attacking unit is striking from the front. What I know so far is to have a damage detection trigger, condition "if unit has buff", then I have this Then - Actions Set...
  43. Xzere

    [Solved] Creating units at random spots

    Hello, how do i create 3 units total, one at each of these 4 regions? So one spot should be open only Thanks in advance.
  44. Cheshire

    [Spell] force hero to use random item from inventory

    hey there, I am trying to make a spell that will make the targeted hero use a random item from its inventory. being as different items use different types of activation (unit,point,instant), not to mention passive items, i'm having a hard time triggering this without specifying pretty much...
  45. Cheshire

    [Solved] remove unit from control group

    hey all, this has been asked a few times in the past, but never (as far as I found) given a good solution, so I wanted to see if maybe someone found a workaround- is there any way to remove 1 unit from a control group with triggers? thx
  46. Cheshire

    [Solved] why doesn't this work?

    hey there, this trigger seems pretty straightforward and I can't figure out why it won't work. It's a spell (based on channel) that is supposed to cancel whatever the target building is doing (upgrades/research/training units). (the last line is just to make it undetectable to the owner of the...
  47. Ilexa

    [Solved] Need help with multiple life system

    Hey, I'm working on this RPG map and having a bit of trouble making a multiple life system work. I'm pretty inexperienced and trying to learn as much as possible on my own. Alas I've reached a dead end. I'm almost positive the issue is with the Variable and not the trigger itself, unless I'm...
  48. Xzere

    Will this work for multiple players?

    Hello, as the title reads i wonder if this will work properly for multiple players or if it will cause problems. Dialog1 Events Unit - A unit Gains a level Conditions ((Triggering unit) is A Hero) Equal to True Actions Set VariableSet LevelingHero =...
  49. Oliphant

    Ordering ai to send attack

    Is it possible to order ai(made in ai Editor) to send a attack via trigger? I was only able to found how to do that with ai made in Jass. Thanks!
  50. Xzere

    [Solved] Triggering Spell problem

    Hello, the spell itself works good, but why is it killing everything instantly, no matter the HP of the picked units? Note: It does work as intended if it hits only 1 or 2 units. Fire Slash Work Events Game - GDD_Event becomes Equal to 0.00 Conditions (Level of Fire...
Back
Top