• 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. N00b-Morti

    Swapping weapons - Transformation abilty may be the solution?

    Yesterday I tried to something that I thought i could make in seconds. But i was wrong: make a unit swapping weapons, from sword... to bow and arrow. First thing first i created two versions of the same unit, with two different attachments and way they fight. But then, when i tried to add the...
  2. ComeWithMe

    JASS code. Need some help with script.

    Hi there, Is there anyone who is good at JASS code? I need help with that, I would like to cut some working JASS code from one map, but still have no success. This is not about memory hack, just about basic knowledges of JASS. Please ping me in pm. Thanks.
  3. TheFireMage

    [Trigger] Unit Group Problem maybe?

    Hello everyone, Thank you for reading this thread and helping me with my problems for the past few months and today. I made 2 triggers, one for adding units taking damage to the group when the damage source carries Deathblade. The second trigger adds damage to the item carrier when the units...
  4. Xzere

    Item triggering

    Hello, is there a way to make this item update itself if i, in example purchase an intelligence tome + 50? Deathcap Acquires Events Unit - A unit Acquires an item Conditions ((Item carried by (Triggering unit) of type Deathcap) is owned) Equal to True Actions...
  5. DexterFstone

    Ability upgrade

    Hi I have 2 ability (ability1, ability1 upgrade) and one ability for change ability1 to ability1 upgrade (passive ability), now my question is how to change ability1 to ability1 upgrade with my passive ability? (I'm using attribute bonus for change ability1 to ability1 upgrade) I use Unit - Add...
  6. Ruvven

    [Trigger] Random Spawning Destructibles

    Hello there, this is my first post in here and im hoping for the best! So what im trying to do is have a trigger which on map initialization spawns a bunch of trees in a random position in the Test Region area and then these two triggers are supposed to pick the trees and make it so when one...
  7. Kronomage

    [Solved] Does this Special Effect leak?

    Hi. I hope this question belongs here. Well, I essentially just wanted to know if the FX on the following trigger leaks or not. Hammer of The Lightbringer Events Game - DamageModifierEvent becomes Less than or equal to 1.00 Conditions (Level of Hammer of The...
  8. Cheshire

    [Spell] check if path is blocked

    hey, is there any way to detect if a unit can walk to point x - as in there is no tree, cliff, unit etc' blocking the way? I looked through a bunch of old threads about it and no-one had a good solution, but maybe with the new natives? I am doing this for an AI system and trying to avoid...
  9. Nemesis DSGB

    [General] Rusty looking for help with AI Spawning

    Hi guys. im looking to make a defense mode that can go for long periods without crashes (little leaking) So im just starting to set up my variables, im using Ints and bools to keep it simple for now Recommendations on best framework for the system to be clean and smooth? plan so far: -Wave...
  10. Cheshire

    [Spell] How to calculate angle?

    hey, this is probably a simple equation, but I have not touched geometry or trig for years, and haven't been able to find an explanation in terms I am familiar with enough to use in warcraft... basically I need to solve for D: I want to be able to find the angle that is the middle of the...
  11. 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...
  12. 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...
  13. 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...
  14. 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...
  15. DexterFstone

    fade filter

    Hi, how to use a fade filter for just trigger player?
  16. 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
  17. 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...
  18. 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...
  19. DexterFstone

    Text

    when I play LOD Map I see a big text on the bottom of the Time of Day how to make it?
  20. 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...
  21. 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?
  22. 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...
  23. 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...
  24. 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 -...
  25. 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...
  26. 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?
  27. 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)
  28. 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...
  29. 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...
  30. 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?
  31. 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...
  32. 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...
  33. 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...
  34. 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...
  35. 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...
  36. 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 -...
  37. 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 -...
  38. 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...
  39. 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...
  40. 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...
  41. 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...
  42. 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?)
  43. 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
  44. DexterFstone

    hero respawn

    I need trigger for hero respawn when hero dies
  45. 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...
  46. 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...
  47. 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?
  48. 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...
  49. 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"...
  50. 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
Back
Top