• 🏆 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. Cheshire

    [JASS] jass trigger not working

    hey, this is my first trigger in jass. it doesn't have any traceback malfunctions, but for some reason it just does absolutely nothing in game. what did I do wrong here? function taken_conditions takes nothing returns boolean if (GetManipulatedItem() == udg_Bait ) then call...
  2. impulse

    [Solved] different regions need help!

    Hey, im really new to WE but me and a friend is doing a custom TD and there is alot off errors along the way, but this one i can figure out. So we have for now 2 spawning areas top and left, map is a cube shape. Left spawn code spawn1 left Events Time - Elapsed game time is...
  3. Kick King

    [Crash] Issue with game crashing about 15 minutes into map

    Hey, So, I've been dealing with this issue of and on with my map I'm working on. (AOS) Basically almost every game, about 15 minutes in, the game freezes and then crashes. I've checking my handle count and it never goes above 9000. (lots of units on the map), and I've simulated a Memory leak...
  4. Cheshire

    [Solved] loop not looping... ?

    hi, I have this trigger that is part of an ability that is supposed to send random units in the unit group to random places on the map. it works, but it's not working multiple times like it's supposed to, only once. I can't figure out why. I'm talking about the loop starting - "for each...
  5. DexterFstone

    fade filter

    Hi, how to use a fade filter for just trigger player?
  6. HolyWillRise

    EXP share system?

    Hello, i am making a zombie def map with 4 players. I set the experience gain to 1, so 1 kill = 1 exp, but what i want is to all of the 4 players to gain 1 exp for each kill (doesnt matter who gets the kill) EXP range (not global if possible) example - 1500
  7. DoomBlade

    [Solved] Damage Engine script error in latest reforged version on all maps

    Hello, Damage Engine Damage Engine 5.7.1.2 by Bribe, stopped working on all maps for me. 1) I opened the damage engine demo map and tried to save it, it says script error. 2) I have the exact same damage engine on two of my projects, tried to save them, same script error. It worked as of...
  8. GnomenxD

    [Solved] Can't set values for Cluster Rockets through triggers ??

    Hello, I have run into my first very strange and frustrating issue. I've created a lot of custom spells and are controlling most of them through, and changing their values with triggers. But apparently I can't do that for my custom ability of 'Cluster Rockets' and it's bugging me out big time...
  9. DexterFstone

    Text

    when I play LOD Map I see a big text on the bottom of the Time of Day how to make it?
  10. DoomBlade

    [General] Adding abilities to items and changing name and tooltip

    If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions DropRateInteger Greater than or equal to 6 Then - Actions Set VariableSet ItemDrop_Loc = (Position of (Triggering unit)) Item - Create Wolf Pelt at ItemDrop_Loc Set...
  11. DexterFstone

    how to make duel system

    Hi, a have 4 teams and every team has 3 parameters, Kill, Die, and Flag. Priority with flag then Kill then ِDie less I need a duel system, how to make a duel system?
  12. RinaDeithee

    [Trigger] Help Detecting when fighting is over

    I am making an AI for a hero. Im using knowledge i've learned from this tutorial. The AI has two parts. Attack and defend. The AI will decide wether or not to attack depending on wether or not it is defending. The hero will defend when ever a unit of the same team is getting attacked. I am...
  13. Mangouste

    [Solved] Fixing memory leaks prevents trigger from working...

    Hello everyone! I made a spell via trigger that works perfectly fine (but leaks), and when I add the custom script to remove location memory leaks it stops working, like it can't find location anymore. Crushing Wave Events Unit - A unit Starts the effect of an ability...
  14. DexterFstone

    trigger – works only for 1 player, why?

    this trigger work for player 1 only, way? and how to fixed? Revive Start Events Unit - A unit Dies Conditions ((Unit-type of (Dying unit)) is A Hero) Equal to True Actions Player Group - Pick every player in (All players) and do (Actions) Loop -...
  15. DexterFstone

    Morphing

    Hi I download this model and create a morph ability but how to change unit animation "For clarity, the "Morph" animation is an all-purpose transformation, while Spell Gold/Lumber Alternate was meant to be used with triggers as individual transformations for their respective forms. Considering...
  16. Bloodheaven_

    [Spell] Is it possible to change the AoE-UI to a Cone one?

    Hey there, Whenever you press a Ability that has Area of Effect a circle will popout as a UI to help determine where the Area is and which units will be focused if casted. However is it possible to change the Circle to a Cone one? Example: imgur.com . Any magic trick here to solve this problem?
  17. DexterFstone

    Add and remove buff

    Hi I'm trying to make ult Jaina it's like DotA map and make a spell to add slowing for the area of ult but how to do that? (when unit move to the area of ult add a slow buff and slow MS AS and when leave remove buff and remove slow MS AS)
  18. Bubo

    Help Randomize integer.

    Hello! I'm looking for help regarding randomizing integers without it repeating the same number. So the goal is to set where people will spawn each round. So far i've set up an Integer with an Array thinking it could hold all the different numbers so when the spawn trigger is activated it can...
  19. Smokkkkker

    Is there possible to make a trigger that creates unit after dying from spell?

    Hello, I want to make a trigger that creates unit when he dies from spell. I tried to make something like this, but it didn't work. Save soul Events Unit - A unit Dies Conditions (Dying unit) Equal to (Target unit of ability being cast) (Ability being cast) Equal to Save soul Actions...
  20. DexterFstone

    Item hide

    Is it possible to hide an item on the ground for a Special player And can another see it and pick it?
  21. jsmoove

    I'm a newb and can't follow the Instructions. HELP!

    So I have been trying to implement custom ui for additional races without overwriting the original 4 races in my maps. (we have a total of 12 playable races) The latest map is linked (we are working on a custom map but the system is in this blizz map for now). I was given what seems to be great...
  22. lachferagh

    [Spell] How do I do this ability? [SOLVED]

    My concept is a passive ability where everytime he is attacked, he gains 1 Strength for 5 seconds. So like a warrior - the more people attacking him, the more strength he gets. So I want him to get this skill when he learns the spell: in this case as a test, its the devotion aura. But it's not...
  23. lachferagh

    [Spell] Abilities with triggers

    Hi all, After fiddling around with custom abilities, I thought I'd like to try making abilities through the triggers. For my first idea, I'd like to try create the Defend ability but instead of just reducing damage from piercing attack, I'd like to make the user take reduced damage from all...
  24. Amilee

    [Solved] Check If Unit Is In Combat / Use Both Attacks

    I'm trying to recreate the functionality of the sentry from TF2, and upgrading is fine and dandy, but getting the level 3 to use its bullets and rockets is apparently impossible without some trigger/scripting. Someone suggested creating a dummy unit that will spawn on the building and attack...
  25. Xzere

    Trigger problem

    Why does this simple trigger not work in multiplayer? Info Display Unit Events Player - Player 1 (Red) Selects a unit Player - Player 2 (Blue) Selects a unit Player - Player 3 (Teal) Selects a unit Player - Player 4 (Purple) Selects a unit Conditions...
  26. Xzere

    [Solved] Trigger question

    Hello guys, how do i make a trigger like this only being able to create 1 unit every 5 seconds. At this point the number on every "random integer number" could be less than 60, which would create 3 units. Which is something that i dont want too happen. Draenei Spawn Events Time -...
  27. Xzere

    [Solved] Trigger question

    Hello, how do i make a trigger like this only fire once per unit? I want the unit to gain increased stats only the first time they enter the region. Increase Unit Stats Events Unit - A unit enters Blood Elf Spawn <gen> Unit - A unit enters Draenei Spawn <gen> Unit -...
  28. FimbleTharn

    Which is More Efficient

    When it comes to triggers which use a dummy unit to cast an ability, which is more efficient? Having a dummy unit pre-placed in the editor which is moved around the map when called for by a trigger and just giving the dummy unit all the abilities it will potentially need in the object editor...
  29. Darkxs

    How to detect a lose of an item while having another one

    Hello Hive, I was wondering how one would go about making a trigger, which detects when a unit loses an item, while still having another one of said item in their inventory? I've tried this and it dosen't seem to work as intentet: Event: An unit loses an item Condition: Item being manipulated...
  30. DexterFstone

    Spells and Descriptions

    I need Spell is like skill 3 Troll warrior in DotA map, but when the hero moving and Don't damaged Level 1 - add 5 MS per sec - CD 8 sec Level 2 - add 10 MS per sec - CD 6 sec Level 3 - add 15 MS per sec - CD 4 sec Level 4 - add 20 MS per sec - CD 2 sec and when the hero takes damage or stop...
  31. HerlySQR

    [General] I'm tired of this (Workers doing action that they shouldn't do)

    I don't wanna ask for help for this because I think it will be much, but I tried everything to solve this and nothing, so I wanna ask you for help, the problem is: My map is for "stages". I have them save in a group called "Trabajadores". When a "stage" is completed, the workers have to build...
  32. DexterFstone

    upgrade units

    How to Upgrade the unit when (for example player red had 1 lumber) then upgrade hp and damage (needs to make a new custom unit?)
  33. DexterFstone

    gold

    I need trigger for when kill hero give gold when kill creep or dny give gold and when kill hero and hero has a spical item give bonus gold
  34. DexterFstone

    hero respawn

    I need trigger for hero respawn when hero dies
  35. jonathan ross

    Parasite overrides black arrow, is there any way to fix this

    I am trying to make a map where one unit type has a black arrow ability while another type has parasite, while 2 different parasite abilities do not override each other when different buffs are used, black arrow is override if it is used on unit before parasite, but both work if black arrow is...
  36. HolyWillRise

    Need Help with Diminishing Return (CC) System!

    Hello everyone, i want to balance the CC in my game to be the same like in WoW, means: If same ability is used 3 times in a row, and it has 10 sec duration, the system gonna turn it to 10+5+2.5 sec instead 10+10+10 Example: A rogue sapping u 3 times, each time the duration drops with 50% Can...
  37. HolyWillRise

    Roll The Bones ability from WoW

    Hello everyone, i am wondering if its possible to make this ability work and how? Can we just put a trigger that picks a random number between 1 and 10 everytime we click/use the ability and then for each specific number to gain different buff?
  38. HolyWillRise

    Swap system, whats missing?

    Init1 Events Player - Player 1 (Red) types a chat message containing swap as A substring Player - Player 2 (Blue) types a chat message containing swap as A substring Player - Player 3 (Teal) types a chat message containing swap as A substring Player - Player 4...
  39. HerlySQR

    Problem with a trigger

    I create this trigger to acumulate items (I really don't want doing the powerup thing), I think it is ok but it just do until "remove item being manipulated" what am I doing bad? To understand I only have 10 types of items that I wanna stack saved in a variable called "Objetos_cargado"...
  40. SouLost

    Specific unit in X range from another, condition

    Hi, I can't find a way to make this... Event: -Sylvanas dies (is in game from the start) Condition: -Arthas is in range, maybe 2500 (arthas is in a variable) Action: -wait 5 sec -Replace Sylvanas with her banshee verison under control of player 4 Thanks in advance
  41. 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...
  42. 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...
  43. 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...
  44. 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...
  45. 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...
  46. 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?
  47. 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...
  48. 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...
  49. 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...
  50. 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...
Top