• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

trigger

  1. PerPlumeShake

    [General] AttributeStatSteal_TriggerHelp

    Hello, I'm Trying to create an Attribute Steal(Passive Skill) where each hit of the attacker to the targeted hero, the attacker's attribute increases by 4 then the targeted hero's attribute decreases by 4 and has the limit of 50 attribute that can be stole from the targeted hero. if the attacker...
  2. RaMs

    [Trigger] Set Casting Time of ability not working

    Hello everyone As the title says, i'm using the function Ability - Set Ability Real Level Field trying to customize the casting time of abilities, but is not working and i dont know why. Untitled Trigger 001 Events Unit - A unit Begins channeling an ability Conditions...
  3. MaMaD

    How to use random action?

    I want Hello I want to say to Trigger: Do one of the instructions randomly Which action should I use in Triggers? is this?
  4. Blahblah_Blagar

    Picking Units raised by Animate Dead Spell?

    Hi. I've wanted to create a spell based on Animate Dead - it would raise a set amount of corpses in an area of effect range, with the twist that they would instead be raised into a specific unit type. You cast Animate Dead and raise zombies (or whatever) from surrounding corpses. The obvious...
  5. PerPlumeShake

    [Solved] About Metamorphosis

    Hello guys, Good Morning/Afternoon/Evening i would like to know how to make the hero do the metamorphosis like this. Normally, user is melee and can cast the 1st & 2nd skill normally("Skills that requires triggers", you could take "Flash Attack" skill discussion as one of the materials it'll be...
  6. NeoZigma

    Help, I don't understand what this window means

    Hello, everyone. The thing is that this map is my favorite and I played it a lot with my friends. However, it is a somewhat rudimentary map compared to others, and there are not many users who play it, that's why I decided to open the editor and improve it as much as possible, although my...
  7. DupaczZ

    [Trigger] Get life-increasing aura to work with multiple levels

    Hi. First of all, I'm a noo at triggering and coding in general. Now to my problem... I am currently trying to change a trigger from Uncle. Here is a link to the Thread: [Spell] - Life-increasing aura I am trying to make a Hero ability. The ability needs to have at least 4 Levels. Here is the...
  8. Nightmare05010

    [General] How do I make it so that when a specific unit type kills any type of unit, player gets 100 gold?

    So, I would do the other thing on here, but I am not sure how to write it, so I will attach a screenshot of the triggers that I made. Where did I mess it up? First line says "A unit dies".
  9. PerPlumeShake

    [Spell] Stampede but uses triggers & dummies

    Hello, good morning/afternoon/evening everyone. I would like to know how to create a "Stampede but using with triggers & dummies". Damage is also in trigger so as its AoE. Last within 15 seconds would be enough. Hope you guys could help me with it
  10. 9400490

    How to create a Trigger to continue receiving XP from monsters as a LVL 5+ Hero

    I'm creating a huge map as if it were some kind of MMORPG in Warcraft III Reforged, only with Neutral Hostile enemies. However, when I reach level 5 with a Hero, he stops receiving XP from these monsters. I would like to know if there is a system or something I can do to continue receiving XP...
  11. Alry FireBlade

    How do I check if Player Red is the only Human player to run Actions?

    TLTR: What condition checks if there is only 1 human player. Hello, I am new to Triggers and try to get better. I am currently creating a Hero Defence Map, and I want to create Cheats I can use, for testing my Map. Furthermore, I want to make it, that the Cheats get disabled, when there are...
  12. Rigoberto

    Triggers disappearing (UI Bug) when using folders/comments

    I am not 100% what causes it, but it seems when I use folders to organise triggers and/or comments (not sure which one or both) and save my map, a bug can occur where if I reload the map all triggers except for 1-2 (out of 30+) are no longer shown in the trigger editor. And as far as I know...
  13. =Junpei=

    Need help in regions

    I wanna know how to make units spawn in the region without overlapping to the inner regions So my area of battle has three regions: In which the outside has the weakest to the strongest to the center. However, it is common logic that the outermost region(weakest) will spawn any unit all over...
  14. Silvernus

    [Solved] Prevent upgrade from increasing unit's current mana?

    This topic has come up once before, but got no clear answer. And on my own research, I'm finding it particularly difficult to resolve. The goal here is simple - I want a building that has an arbitrary amount of mana to be able to upgrade into one with a higher maximum mana, but without changing...
  15. Silvernus

    Variable doubling each update cycle (SOLVED)

    I'm trying to make a trigger that updates on a regular cycle. Every update cycle, it's supposed to take a variable (the increment), add it to another variable (the old value), and save the result (the new value). However, while most of this seems to work, the updates appear to be updating the...
  16. =Junpei=

    Trees stop respawn when in building help

    So, I have a simple trigger that makes the tree respawn when destroyed/chopped down. Events Time - Elapsed game time is 0.01 seconds Conditions Actions Destructible - Pick every destructible in (Playable map area) and do (Actions) Loop - Actions...
  17. =Junpei=

    Unit Group Variable Help

    I had some issues when using variables, specifically, Unit Group. I tried to use this as this prevent memory leak but it does not go out as I expected. When using the "random point in region", the creeps created stays in one place, I want them to be scattered randomly and not stacked in a random...
  18. TehSDragon

    Trying to trigger a delayed falling projectile but it's not working quite as intended

    Good people of the Hive, I am once again asking for your support. First off, the situation: I'm trying to create a spell that summons a falling meteor that lands in target location, dealing damage. I figured, hey, I could base this off of the summon Infernal spell, just need to set the Stun...
  19. Ricola3D

    [Reforged] Nested "Value of Real Variable" events is bugged

    Hello, Some well-known systems for your custom maps use "Value of Real Variable" events as API you can use to get notified of some game actions. For example a well known is GUI Unit Event by @Bribe : For example, the system executes the code below: Set VariableSet Event1 = 0.00 Set...
  20. CollectorofStoriesUntold

    [Spell] Detecting when unit is order to drop one corpse

    Hello, fellow hivers. I'm currently working on abilities for a corpse chart. The idea behind the ability is that every time the unit acquires a corpse, it levels up an aura ability, and when it drops one it lowers the level of the aura ability. I have figured out how to detect when a corpse is...
  21. LOOPERION

    Tower Defense Unit Routing Problem

    Hello, so I am making a Tower Defense and I need help with the routing... So, what I'm trying to do here is to have Player 1's all units (which spawns timely) to move from Point Start A to the Points #s, then lastly to Point End. While my spawned units is to Kaboom! enemies along the way from...
  22. BrothForMyPeople

    Attachments disappear when I change unit's skin via triggers

    Hello I've made a trigger where standard paladin model changes to Uther when he takes specific item. Although, all attachments (like aura, buff etc. as well as custom attachments like shield or sword in left/right, hand) disappear when the skin changes. When I am buffed again and I drop the item...
  23. OG-Panic

    Require Multiplayer Backpack system

    "Hello guys, I'm looking for a backpack system for my RPG map. I know there are several options out there, and I have already checked out quite a few of them. The problem is that most of the highly recommended systems are too expensive for my taste. I'm not a coding Guy, so JASS and all the...
  24. ZeroGravity

    I want a trade hero system/trigger

    Just as the topic suggested, I was trying to make a trigger where one person would type such as -trade blue then the targeted person will get a notification that they got requested to trade and may type such as -yes red to accept the trade or -no to deny and end the request, but I have failed...
  25. xploder7

    [Solved] Carrying Variables Across Triggers

    So I have a trigger here: frozenOrbCast Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Frozen Orb (Frost Mage) Actions Set VariableSet frozenOrbCaster[(Player number of (Owner of (Triggering unit)))] =...
  26. Ruvven

    [Trigger] TeamSize missing out a couple people

    Greetings once again to the lovely Hive Community! I have a trigger here that should seem to be straight forward but i currently cannot seem to fix this and my brain has started to hurt. All in all what its supposed to do is take the amount of players and divide them into wether it should be...
  27. xploder7

    [Solved] Substring Integer Comparison

    Hello! I have the below trigger with conditions that the substring has to be between 50-400. No matter what is typed in the chat (like "-cam 999"), only the Else is running, even when it shouldnt.. I tried converting the substring to a real and doing the same condition comparison which did not...
  28. Izzetin

    [Trigger] Unit Indexer merge (JASS)

    Hello, Iam currently trying to implement 2 awesome Systems from Hive in my Map but i have a problem with the Indexer. I know there can only be ONE Unit Indexer but i am not able to deleted one and merge both Systems. Maybe someone can help me get the ''Is Unit Moving'' (Bribe) working in the...
  29. almawt

    [Solved] [Trigger] Dice Movement

    Hello! For the last few hours I've been working on making a sorta fun little drinking game, that you play in single player mode. So, I'm trying to work something out where when a player hits the dices (activated by an ability), a random number (2-12) is rolled, the unit moves that amount of...
  30. Gojiras

    [Trigger] Request - Check triggers for leaks?

    Hey ya'll. I've recently been updating a semi-popular version of Warchasers called WarchasersNightmarev27. This particular version is notorious for crashing 1-3 hours into the game (sometimes individual player crashes, sometimes game wide) and I'm assuming it's caused by memory leaks in the...
  31. ZeroGravity

    Is this trigger causing my map to lag so hard?

    So my map has been lagging from time to time, probably due to a lot of enemies at once and this trigger moves the certain type of enemies. I suspect as this is the only periodic time trigger I have which moves a lot of unit at once, it may cause the massive lag but how do I fix it? Is this...
  32. Ruvven

    [Trigger] AI Works but then again doesn't ..

    Hey there, been a while .. So recently i picked up an idea and the map itself is no problem, but i have started getting into AI and trying to incorporate it with triggers cause the AI Editor will not work for my purpose. Well story aside this is the first of probably many triggers but i have...
  33. ZeroGravity

    A trigger that make everyone outside of region loses?

    Just like the topic, to make you see the big picture, a chopper will take that hero unit to safe zone which guarantee the owner a win while players outside who did not make it within time limit will get defeat screen. I think using hero unit as condition will be easier since there might be...
  34. ZeroGravity

    I can't use codeless save/load system

    I have tried enable local files with from this site: Local files with this method: An easier way to do this is to open the .reg file attached in a zip archive below this tutorial and accept all popups that get opened because of it. Still, this happens, Also the thing I want to save is just...
  35. ZeroGravity

    My map leaks and I don't know where.

    I have tried to search for it but no clue. It's like something is glitching every 2 or 3 seconds but I have tried turning off the suspected triggers which don't help at all. I don't think my triggers leak but it's like the framerate drop every 2 seconds or so, I wonder if anyone can help me...
  36. TheJassy

    Same ability, Different unit

    Hello, I've made a unit cast the "Doom" spell and it summons a Skeleton warriro. I'm looking for a way so if you cast the same spell on a Archer It'll turn into a skeleton with a bow. Hopefully that kind of explains it since It's kinda weird to explain. 😀
  37. ZeroGravity

    How to add percentage experience?

    Hi, like the title said, I want to add not flat number but +50% experience to the hero when picking up tome of experience but I can only use flat number only so yea, any idea? Thanks in advance.
  38. Dark-Zalor

    Item Button Clicked

    hello everyone, I use for any of my spells that event: call TriggerRegisterCommandEvent(T, SPELL_ID, SPELL_ORDER) and this works, when I clicke on the button my trigger runs. But is there an equivalent for item click button, because the event below does not trigger anything... Thanks you...
  39. Prostagma

    [Solved] Creating a loop spell

    Hello, I've been searching on how to create a loop spell in a specific way but I just can't find any tutorials on how to do it (or maybe I'm too dumb to understand). I'd like to create a volley spell (archer) that fires arrows from the heroes while he's channeling (because making arrow falls...
  40. Anton Wulff Jensen

    [General] Item that deals bonus damage to specific type of enemy

    Hi there. Another question for you map-fessors out there. I want to make an item which gives extra damage on basic attacks against a specific enemy type (Undead units). How does one create a spell or trigger to do this?
  41. Tburn1910

    [General] Duplicated AI Player Names In-Game

    hey guys, it's me again. so i recently figured out how to make AI players have random names for their selves, and i was over the moon when i learned something. but however, it has come to my attention when i tested this on a melee map (for fun lolz), I got 2 issues. Issue #1: Some of the AI...
  42. 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...
  43. 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...
  44. 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...
  45. 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...
  46. 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)
  47. 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...
  48. 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"...
  49. 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...
  50. 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?
Top