trigger

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

    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!
  38. 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...
  39. 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...
  40. 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...
  41. 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)...
  42. 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.
  43. 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...
  44. 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...
  45. 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...
  46. DexterFstone

    multi-time increases damage via trigger

    how to multi-time increases damage via trigger with item-damage-bonus ability?
  47. 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?
  48. 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...
  49. 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.
  50. 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...
Top