• 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. Ruvven

    [Trigger] Extreme Lag from ... what?? O.O

    Hello People of Hive, I once again require your assistance since i have something that works perfectly in one place but when i try to duplicate the effect in another place it causes extreme lag and freezes the game for several seconds Heres the trigger, can anyone help me figure out why this...
  2. Ruvven

    [Trigger] Playing with Multiboards

    Greetings people of the Hive Community! Once again i have found myself in need of your help, i am as many others making a map, where i would like a multiboard, or something that does the same atleast, to show "players" and 3 different currencies (currencies are based on variables so it should...
  3. Ruvven

    [Trigger] Alright, i did a thing, does it leak?

    Hello again Alright, as the title suggests, i did a thing and as a beginner trigger dude, i feel like this will leak if i just use it as it is, am i wrong? SpawnLevel1Mobs Events Conditions Actions Set VariableSet SelectedMobGroup = (Units of type No unit-type) If...
  4. Blahblah_Blagar

    [Trigger] Autocastable dispellable Poison

    Should be a very simple thing to do For quite a while I've been trying to figure out how to create an autocastable dispellable poison (a very simple debuff that drains life as long as it's active). I've been screwing around with the premade spells such as parasite and inner fire (with negative...
  5. Pagchomp

    [General] Giving units, of certain type, abilities.

    Hello, I would like to ask how can you add certain abilities to units of type, that means even those that aren't on the map (like units that are trained afterwards)
  6. Ruvven

    Leak fix location array?

    Hey there everyone, I have an array point that i will be spawning quite alot but i need it to be cleared aswell of course and the point itself is based on another unit variable where it selects the player number of triggering player? is there any way to do something like the one i listed...
  7. Ruvven

    Create "Wild Grass" like in pokemon with random encounters?

    Hello there everybody I posted my 2 "somewhat" working triggers down below. What i want to achieve is like the feeling of pokemon wild grass where you click and randomly move within this area and then at random "clicks!" or "intervals (while moving only)" to sometimes hit a "random encounter"...
  8. Droof

    [Solved] Detect Building/Structure Menu Click

    I'd like to implement a paging system for multiple structures in the building selection on a worker unit. I have two units, "Next page" and "Previous page" When the units are selected/clicked in the build menu, it should change the buildings available for the triggering player. ISSUE: The...
  9. StonemaulMidget

    How do you carry a Hero over to the next level?

    Hello Hive, this is StonemaulMidget, I am interested in experimenting with carrying heroes over to one chapter to the next. How do I proceed?
  10. HolyWillRise

    Shared gold between Player 1 and Player 2

    I have a Dungeon type map (2 players, red and blue) There you kill many many mobs and you get gold for each killed mob (random gold amount) What i want to do is, to share the gold between player 1 and player 2. Literally 50-50 for both, so they can have the same amount of gold. Because right...
  11. DrPotatohead

    Trigger causing lag and crashes in some cases

    Hi everyone, I've tried to fix the trigger below over and over again but can't figure out why it is causing so much lag/crashes. Thank you in advance!
  12. Oppaikun

    [Solved] [1.31.1] Stacking Healing Spell

    Hey all, I've been trying to create a custom healing spell, but I'm not experienced enough to pull it off, so I'm hoping someone here can help me (I'm on 1.31). Here's a description of the spell: Amplifying Heal Heals target for 50 + ((HealAmpCharges) x 10/20/30/40/50) (increments are for each...
  13. Benpai

    Game crash

    Hi, when I cast this ability about 50 to 100 times the game crashes, can it be that when you save too many units in variables Warcraft is overloaded? How can I solve this problem? Alpha Strike Events Unit - A unit Starts the effect of an ability Conditions (Ability...
  14. Spacebuns

    Effortless and Efficient Unit Group functions for GUI Triggers

    Effortless and Efficient Unit Group functions for GUI Triggers Background This is a tutorial for GUI users to learn how to use the new natives for Unit Group functions while mapmaking. A lot of people, I assume, are still using GUI triggers because they don't have more time to devote to...
  15. Izzetin

    Footstep / Move Sound (Trigger)

    Hello! Im looking for a Trigger or Idea to give my Unit a ''Footstep'' sound everytime i move it around on my Map I looked this up on the Forum but only found stuff from 2008 and the Triggers i found didnt work for me somehow (Im not a Trigger expert so i need a simple way or Explanation/Screen)...
  16. Captain_Teemo

    [Spell] Reset Cooldown (Specific) Without removing & re-adding ability.

    Hello, I'm trying to reset spell (2) when using an item ability (CD Reset) but without removing / re-adding all the unaffected abilities at the same time. if anyone knows how to do this i'd appreciate any help you can give me! I already know how to reset (All) but this is not the affect desired.
  17. Ragnar9

    Number of units in Region trigger

    Something is off in the conditions of this trigger and it doesnt work. Does the Units in Region Equal to not work so well for this? The goal is to recreate the scene in the movie when the Easterlings march to the Black Gate. BlackgateEast Events Unit - A unit enters Blackgate...
  18. debeli99

    How to make unit switch between animations trigger help

    Custom model: Treasure Guardian So I’m trying to make this custom model use alternate animations when the player enters specific region. I have 4 players and I want for custom unit to use it’s stand animation when there are no players in the region, and if there are players in the region to...
  19. Rasamayu

    [Trigger] Wait in a periodic trigger cause a bug or damage in the trigger?

    Greetings hive I am creating a skill that stops time, this skill can only be cast by one unit at a time, which means that simultaneous casts are not allowed. And what I want to do to make it more realistic is to place a Wait, verifying if the ability to stop time is active with a bool, in...
  20. DexterFstone

    multi-time increases damage via trigger

    how to multi-time increases damage via trigger with item-damage-bonus ability?
  21. DexterFstone

    Healing Salve ability

    Hi I need some ability it like Healing Salve, but it has a health limit when it is full u can use it, but I need some ability to u can use always and if take damage buff is removed it's like Healing Salve ability. any idea? or how I can remove Healing Salve's full health limit?
  22. Thiiago

    [Trigger] Just an chat Trigger to SetName by command

    Remember the "cheats" like: greedisgood X Greedisgood = Command X = amount (?) I need an command / code similar but is for Unit Name... Ex: -SetName_Talon The selected Unit change her name for Talon, understand? Or i do -SetName_OldBear The selected Unit change her name for OldBear o thats...
  23. urachi

    Hero change model when reaching level 10

    Greetings, i am looking for a "simple" trigger. I want a Hero to turn, for example, from Footman Model to Knight Model when reaching level 10. Keeps all items, stats and abilities. Thanks for reading.
  24. SnowTauren

    [Need Help] - $5 on Paypal if you help me - Enable/disable ability on unit summon/death

    Goal: Make Rexxar from Heroes of the storm that has summon Misha as Q ability and E as mend pet ability that heals Misha. What I need help with: 1. Disable mend pet for Rexxar when Misha is dead(not hide) only disable. 2. Enable mend pet for Rexxar when Misha is summoned back again with Q...
  25. MasterWarlord

    Need help doing math to find the correct "hitbox" for my triggered spell?

    Intended spell effect/tooltip: "Sloth slams his chains onto the target point dealing 650/750/850 damage in a 150 area of effect 500 distance away from himself, stunning enemies for 1 second, and knocking the target back towards Sloth. Enemies hit by the giant slam of the chains take full damage...
  26. Radicool

    [Trigger] Tome Tax - Shop Item Replacement

    Hi all, Goal: I'm making a Tome tax system. Every few tomes the player purchases, the cost of that tome rises for that player only until a cap is reached (currently 5). I wanted to ditch having triggers do the gold requirement check and deduction after purchase and have the current price listed...
  27. DexterFstone

    blocking chat

    it is possible to block chat messages for players(for example player 1) in a short time?
  28. Tomerion

    Rescuable Unit Color Change

    I have a custom unit whose team color is purple in OE. However, if I make the unit rescuable for Player 1(Red), the unit will automatically change it's color to red whenever it's rescued. Are there any triggers or any other solution, to make the unit keep his purple color after it is rescued?
  29. Ruvven

    [Trigger] Leak Problem (Trying my best)

    Hello again masters of WC3 Editor! As i have recently become aware of so many leaks in my game (that i hope can be replayable so leaks or gonna be a massive issue later). I am trying my best to "fix" the leaks and i have run into a slight problem that i am really unsure how i should take...
  30. Thiiago

    [Trigger] Change "Text - Hotkey - Normal:" help

    With these new changes and additions for ability (and others...) editing by Trigger Editor, can anyone tell me if and HOW does it change the part, from: "Text - Hotkey - Normal:" (if need) Raw data name is: ahky (Hotkey) (...) I searched and didn't find it, I just found it for other things...
  31. Ruvven

    [Trigger] Melee/Ranged Isnt Working

    Hello Community that has helped me understand so many things in the WE! #MuchAppreciation! I am having trouble with yet another situation here as i have googled and searched through here for answers on switching from Melee -> Ranged and keeping spells and all of that is cool. The problem is...
  32. Matthew's_warcraft_book

    [GUI] unit - unit within range of cant take points?

    I need an event for when a unit comes within range of a point (variable), but the variable isn't showing up, only unit variables. How can I do this? I will be replicating this trigger dozens of times, I'd rather not use regions for every single one, is there another way? I am open to using jass...
  33. HolyWillRise

    Help! Chain Lightning Trigger Doesn't Work!

    Sometimes when "Chain Lightning" is used it does not hit the other two or one target(s) near the main target. And when there are only two targets, it hits the main target, and not the second target. So it works maybe 50% of the time. So.. How to fix it so that it hits the required targets all...
  34. Ruvven

    [Trigger] UnitMakeAbilityPermanent

    Hello again I have a map where spells are not learned normally and thus picked up by spell books along the way, also i have morphing possibilities and many of you probably know that the two of those does not go well together. I have seen alot of people mention the sentence i used as a...
  35. DexterFstone

    need trigger to find WHO IS WINNER and Ranking

    Hi, I'm working on my map and it is done now I need a trigger to find who is the winner My Map Detail 12 Player, 4 Team, each team have 3 player 10 Round game I use multiboard Kill Die Flag Human team var Kill(0) var Die(0) var Flag(0) orc team var Kill(1) var Die(1) var...
  36. Benpai

    change and increase item ability

    hi, is it possible to change the stats or add an ability of an item with a Trigger? I want, that a Hero is able to buy a base item with like +1 int and +2 str and if he buys a dummy foliant the stats of this item should be changing to +2 int and +4 str. I was trying to do it with this, but it...
  37. DexterFstone

    [Spell] bear trap ability

    Hi, I try to make bear trap ability and I'm using custom Ensnare ability for trapping unit around of bear trap but how to do that? I need trigger, pls help me
  38. DexterFstone

    remove dummy unit

    Hi why dummy units is not remove by this 2 trigger? Unit - Add a 2.00 second Generic expiration timer to Fireblast_Dummy Unit - Remove Fireblast_Dummy from the game I add model to my dummy unit and i see it is always stand at created position and never removed, Why???! or it is just graphics...
  39. DexterFstone

    Double click helper

    Hi how to make double click helper for ability for example a have Bloodlust ability and I need when press 2 time B it is cast to himself How to do that? (it's like all abilities in DotA and LoD map)
  40. WidescreeN

    [Trigger] Neutral Hostile Units gain health if unengaged

    I've done my best and I can't get it to work, I need that every 30 seconds it checks if any neutral hostile units are attacking or being attacked and if they are not, they gain an ability that recovers them to full health, and if they are, the ability is removed. This is what I have, i dont know...
  41. WidescreeN

    All Neutral Hostile Units regen health when unengaged

    Hello guys, I am in a pickle. I'm trying to make that every 30 second of the game, a trigger checks if ANY neutral hostile unit is attacking or being attacked, if they are, nothing happens, but when they are not doing anything (nor attacking or being attacked) they gain an ability which i...
  42. Xzere

    Spell Trigger issue

    Hello, why does this trigger nog function properly because of the "RemoveLocations". It triggers only once when i want it to trigger 3 times. It works perfectly if i remove the custom scripts but of course i want to clean the leaks... Avalanche Events Unit - A unit Starts the...
  43. HerlySQR

    What is more efficient way about add actions/conditions to a trigger?

    If I create a trigger I can normally do: function Actions takes nothing returns nothing //bla bla endfunction function Conditions takes nothing returns boolean return bool endfunction function Init takes nothing returns nothing set t=CreateTrigger call...
  44. DexterFstone

    pause cooldown ability

    Hi it's possible to make a ability to pause enemy abilities cooldown? for example enemy cast ability then go to cooldown for 12 second after that me cast pause ability and cooldown for enemy pause for 5 second (after 17 second ability is ready)
  45. DexterFstone

    need idea for ability

    Hi I work on my map and I try to make some hero it's like DotA, but some abilities are not good for my map and I need an idea. now I working on Bounty Hunter and spell Track isn't good for my map and I don't have any idea. pls help to make a good ability for this hero and match to my map and...
  46. HerlySQR

    [Lua] Trigger variable event is not working

    For some reason the variable event for a system I did in Jass and worked in that is not working in Lua, basically the triggers with that event doesn't run, why?
  47. DexterFstone

    trigger for item

    hi I need a trigger for an item when a player tries to pick, the hero stops and gets a massage "u can't pick this item" (not pick and check by if, then drop again) how to do that?
  48. Ruvven

    Structure Costs Items To Build?

    Hello there everybody! Thanks for checking in :) I have been working on a map inspired by survival minecraft with alot of randomness, i want to be able to "chop a tree" and get wood, this part i have down pretty well, so the interesting part here is the fact that i cant for the love of god...
  49. u wot m8_

    Triggers won't play 3D imported sounds

    i've imported a sound to my map. it's WAV, mono channel and 22KHz. i've made a trigger that is supposed to play it, but it just won't play. i tried using different imported sounds but to no avail. the sounds are working when replacing internal sounds, but is there a way to play an imported sound...
  50. HerlySQR

    Problem with bounty system

    I create this system to control almost everything about the bouties and can edit it with external triggers, and use it with another events more than when you kill a unit, is uncompleted and I wanna add more stuff. library BountyController initializer Init globals private hashtable...
Back
Top