• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

trigger

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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?
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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 "")...
  12. 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"
  13. 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) ...
  14. 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...
  15. 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...
  16. 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.
  17. 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...
  18. 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?
  19. 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...
  20. 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...
  21. 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...
  22. 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...
  23. 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???
  24. 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...
  25. 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...
  26. 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)...
  27. 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?
  28. 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.
  29. 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))...
  30. 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)...
  31. 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...
  32. 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?
  33. 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?
  34. 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...
  35. 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.
  36. 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...
  37. 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
  38. 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...
  39. 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...
  40. 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 =...
  41. 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!
  42. 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...
  43. Xzere

    Trigger Issue with training unit

    Hello, how do i make this trigger work? I'm just having an ordinary altar, so when someone starts training that unit-type, it should dissapear. Hero Pick Events Unit - A unit Begins training a unit Conditions Actions Player Group - Pick every player in (All...
  44. Cheshire

    [Solved] AOE exp gain spell/GUI/MUI/updating WE

    MoR Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Monologue of Righteousness Actions Set caster = (Casting unit) Set AoeTargets = (Units within 500.00 of (Position of caster) matching ((Owner of...
  45. Captain Bacon

    [Solved] Trigger Request: Item drop system with Item generation.

    Hello everyone! So, my triggering skills are limited. I'm always stuck on triggers for hours because i just know some GUI. Some people recently told me about NewBonus and how it could help me with what I need, but I thought I'd try here before sinking days into trying to make this work and then...
  46. Xzere

    [Solved] Cleaning leak from point array question

    Hello, how do i clean the leak from a point that looks like this? Set VariableSet RandomSpawn = (Random integer number between 1 and 13) Unit - Create 10 Troll Priest (Level 2-5) for Player 12 (Brown) at Region[RandomSpawn] facing Default building facing degrees Unit - Create 10...
  47. Xzere

    [Solved] Trigger spell issues

    Hello, i have an issue with this, the spell and everything works just perfectly fine BUT the random number which should be 50%, feels more like 5%, so the question is. Am i doing anything wrong with the chance of the spell to activate? Shaman Experience Work Events Game - GDD_Event...
  48. Thiiago

    [Trigger Skill Help] Focued Shoot!

    I needed a trigger for every third attack on my Elven Ranger the next attack to cause 5% of the attacker's current health as piercing damage. I tried to do it for "An unit is attacked", but it seems that it is buggy because I can have it attack and cancel the animation and even so the effect...
  49. AGD

    Trigger Evaluation Behaviour Changed in Recent Patches

    I just wanna share this. It was known in the past that removing the currently evaluated triggercondition using TriggerRemoveCondition() / TriggerClearConditions() / DestroyTrigger() will prevent the next triggerconditions in the trigger from being evaluated. This means globals...
  50. Xzere

    [Solved] Item Trigger

    Hello, i have an item which should cause spell vamp, but there is an issue when the trigger affects multiple enemies. The healing works perfect if it affects 1 enemy only, but if i have an AoE ability, it feels like the number is multipied insanely high. I have only 3% spellvamp, and if the...
Top