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

trigger

  1. Primstan

    [Solved] Creating Power Up Items

    Hey, How to create Power Up items that would increase Health Regeneration or Attack Speed? I tried using OE, but I failed. Do you have any tips on creating Power Up items? Since OE attempt failed, I tried using some triggers, but I got lost a bit. How can I create Power Up items using triggers?
  2. Xzere

    Triggering Experience

    Hello, i want to make a trigger that increases the expierence gain for every 10th level Experience Award Events Unit - A unit owned by Player 12 (Brown) Dies Conditions Actions Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)...
  3. Nazujin

    Help with Save/Load Stuff

    Hello guys, its me again!! I need help with save load code, i need to save the level of a unit ability... so like that, there is 3 attributes bonus with hidden icons in every hero in my map, strenght, inteligence and agility, with 15 levels, that will works like IV in pokemon, so what i want is...
  4. Xzere

    Random Hero selection

    Why is this trigger not working? Thanks in advance! Selection Events Unit - A unit Sells a unit Conditions (Unit-type of (Sold unit)) Equal to Random Hero Actions Unit - Create 1 RandomHero[(Random integer number between 1 and HeroNumbers)] for (Owner of...
  5. Xzere

    [Solved] Attatchment Problem

    Hello guys, how come this only works for 1 player/unit. How do i make this work on multiple units? And the reason i have "turn off" is because i dont want it to stack the ablility, or does it work that way? Note: The "Add armor (Blacksmith)" is an attatchment ability. Armor Gear up Events...
  6. bruunk

    [Solved] Inconsistent trigger that once worked perfectly

    Hi, I recently asked for help on these forums to ask for a way to call for variables in a randomized checklist format. I've since made 2 changes and am faced with a trigger that is, for reasons that I cannot identify; inconsistent. The changes are turning "Take the Questionnaire" (the thing...
  7. Xzere

    Explode Skeletons Ability

    Hello guys how do i make this trigger only damage the enemy and not my allies? Thanks in advance! :) Skeleton Explosion Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Explode Skeletons Actions Unit Group -...
  8. Nazujin

    Help fixing the Timers

    Hello! I need to fix this trigger, the idea of the trigger is, a hero unit dies, wait 30 sec, create another random hero in the same region of the dying one, i need it to work for multiple heroes dying at the same time. It is only reviving the last monster. Melee Initialization Events...
  9. Xzere

    [Solved] Trigger Function Problem

    Hello, i'm having an issue with my trigger, which is that the chance of a dummy spawning, is (Now in this trigger) based on the hero getting ATTACKED, not the hero itself attacking (Which it's supposed to be). And also the damage dealt is supposed to be based on the base damage of the hero. What...
  10. Nosiaz

    Help for use many map as one

    Hi, im actualy trying to understand how work the trigger in rexxar campagne for do one think similaire, i do a big map, like a rpg/mmorpg, i would like to make a trigger for exemple - when a hero go into X portal - move the hero in a totaly new map (for make big donjon (keep inventory level...
  11. TheBigMetalHandInTheSky

    [General] Interested in re-learning how to make custom spells

    3 years ago I quit trying to learn how to make custom spells on my own since I could never get anything right, but now I would like to re-learn everything. What resources are there besides tutorials on this site that I could use, if any, since most tutorials only cover specific topics?
  12. Xzere

    Stats while unit is alive

    Hello folks, i have an idea of a spell, but i dont know how to execute it, the spell should be based of "Feral Spirit", and the idea is: If [This] unt is alive, then set the attributes of the casting hero to X. Been trying around for a while now but cant seem to make it work. Any idea on how to...
  13. Xzere

    [Solved] Ability not Working

    Why is this ability not working? [Archers training] Does not get increased levels Ambush Setup Events Map initialization Conditions Actions Set VariableSet Spellbook_Level[(Level of spellbookability for (Triggering unit))] = (Level of Archers Training (In...
  14. Nastyan

    [Trigger] Need help to stop trigger from repeatedly issuing move command to a unit

    Hi! I'm sorry if the title wasn't so understandable or something. I'm not really good at English. So. I have this simple spell idea where a hawk follows the Hero wherever it goes, the problem is the "move to " command is issued every x periodic time which makes the hawk slower and it looks bad...
  15. iown_azz

    Maze Triggers - Death Region

    Are you making a maze and you know not much of coding or just lazy to add each region in GUI? Well today I bring to you a little project I am working on. A website of LUA Triggers for mazes, maybe other things as well. It is a website because now anyone can use it instead of making it in a...
  16. MrModify

    [Spell] AoE stun sometimes permanent

    Help with Trigger please, AoE Stun based on bash and hurl boulder sometimes perma stuns, glitch? It happens once in a while. i finally was able to get it to stop lagging the game but now this problem is still persisting. what should i do?
  17. urachi

    Reforged Doodad (Wall Door) Opening Animation

    Any idea on how to make the model: Wall Door (Tilesets: Cityscape, Dalaran, Dalaran ruins), that comes along with the new castle wall models, have an <open door> animation trigger? My guess would be that there is no animation yet and you'd have to make one by yourself via the model editor.
  18. norod zno

    [General] Reforged - My cinematics stop playing sound for combat and death after few seconds

    I have a scene where units 2 units fight, and as soon as more units join the fight all combat, and death soudns stop. Help me solve this problem.
  19. urachi

    [General] Triggering - Hero gain size per level

    Hey lovely people, i am currently struggling on a simple trigger that would be: When a hero gets a level up, triggering hero gains 5% size. I know it is bloody easy but i just got stuck, please help me :xxd:
  20. Nosiaz

    Need Help for a Trigger

    Hi, im actualy doing a map like a real RPG, playing like a MMO, u chose your hero you farm, do donjon and do some quest. I want to player can farm all the creature they want, so i need to make respawn the "neutral hostile" creature i put on the map, i would like to keep then "item table" for...
  21. Barorque

    Spell possibility . . .

    Disclaimer: Right, so this is a thread where I'm asking if something is even possible, and if it is, I'd need some serious help :) Got this ¨brilliant¨ idea for a spell, let's call it Amplification Field: - Example hero has a simple Sheep ability. - If the hero puts down the Field, and clicks...
  22. Nazujin

    How to Convert a collored string in a normal one?

    Hello guys. Like the title says, how do i convert a collored string into a normal one? with gui by preference! thanks
  23. Blikunman

    [Help] Calling a GUI Trigger from Jass

    Would it be possible in this code to make it run / stop a GUI Trigger, instead of printing text? if (cs == true) then call BJDebugMsg("Shit active") else call BJDebugMsg("Shit unactive") endif endif thanks, im a jass newbie!
  24. bruunk

    [Trigger] How to cancel a custom ability trigger on cancelling/moving?

    I apologize if this has a million other threads solving this problem but I couldn't find them. I was wondering how to cancel a triggers functions once a unit moves, eg. stops casting/channeling the ability. Right now I have a custom "starfall" ability where if the unit casting cancels the...
  25. bruunk

    Need help with "Special Effect - Set Color Of"

    Hi, I am trying to a simple re-color of an ability's effect (Breath of Fire) where the ability instead of being the default orange-ish red color, would instead be a bluish-purple color. I have set up a trigger in the GUI that I assumed would change the color as the name suggests, but the effect...
  26. Blikunman

    Help creating an "Ability is active" Condition.

    Hey folks, I'm trying hard to make a condition/trigger for detecting if ability defense (same as human footman) is active. I just cant make it work, my goal is to give a building the ability "defense" and if "defense" is active then do (loop of event), when is desactivated then (stop loop). any...
  27. Barorque

    Channelling interruption detection?

    I hope this is the right place to ask a trigger/spell related question. I had a simple idea for a spell. Hero casts Tranquillity. Roots surround him and a dummy summons locust spell. But I wish to unsummon this dummy if the hero is interrupted from channelling. Trigger was rearranged many ways...
  28. Nastyan

    Creating a spell that makes a projectile jump between units

    Hey guys, I need help on a spell that makes a projectile jump between units (not necessarily the "jump" motion but jump move it into other units nearby) Very much like Dota's Lich's Ultimate - Chain frost. Im sorry if its a little bit confusing, im not really good with english but i hope that...
  29. .DotQ

    [Trigger] Income System

    income system that increases the income whenever units are sent to the enemy.
  30. HolyWillRise

    Share gold and exp among allies with every kill?

    I want to make every unit that die to give gold and exp to all units in range (like in RPG maps for example) *Total of 4 players are allowed in the map*
  31. Rayman90

    [JASS] Do unit order events leak somehow ?

    Hello, sorry if my english is bad I put this code to my map: function time takes nothing returns nothing local integer i = 0 loop exitwhen i ==100 call IssueImmediateOrderById ( udg_u , 851972 ) set i = i+1 endloop endfunction function start takes nothing returns nothing local...
  32. ScourgeWarchief

    Birth Animation Integration

    Hey guys i'm working on a custom map and trying to make my buildings use a custom birth as a sfx, setting a time trigger to remove it. i was wondering if there is a way to remove the birth effect when the building is completed instead? (when i use warpten cheat for example it would detect the...
  33. Teitan

    [Trigger] Need help detecting facing angle of picked units!

    Hello, i am working on a spell with the following effect: Caster casts the spell, units within 500 radius of caster have their movement speed reduced (via dummy unit + ability) only if they are facing away from the caster. What im trying to do is to detect if the picked units are facing away...
  34. Grish

    How to make a trigger affect player of specific name?

    I'd like to set up an event message that announces when I'm in the map, based on my player name. Just as a way to show to the other players that I was the person to make the map (I'll admit it's a little bit egotistical). I've seen stuff like this be done in older maps, and I'm not entirely sure...
  35. Hazop / Sarven

    Abilities decided to die

    So in TCW you can pick one of 4 factions (each based on an ideology) at your main HQ. To prevent people from researching all of the 4 factions I made it that when you begin researching one it removes the others, and when you cancel them, it makes it available to chose a different one. As a...
  36. .DotQ

    help me for income system

    Hello im about making a unit spawning in a area like the legion TD sending to the enemy which you send them so i want to put some income so they will spawn a unit in an area because the income increasing as you bought a unit to attack the enemy automatically. IMG_20200127_222432 by .DotQ posted...
  37. .DotQ

    [Trigger] help me for income system syst

    Hello im about making a unit spawning in a area like the legion TD sending to the enemy which you send them so i want to put some income so they will spawn a unit in an area because the income increasing as you bought a unit to attack the enemy automatically. IMG_20200127_222432 by .DotQ posted...
  38. .DotQ

    [Trigger] INCOME SYSTEM

    Hello im about making a unit spawning in a area like the legion TD sending to the enemy which you send them so i want to put some income so they will spawn a unit in an area because the income increasing as you bought a unit to attack the enemy automatically. IMG_20200127_222432 by .DotQ posted...
  39. HolyWillRise

    Help. Trigger not working currect [AoE damage + item charges]

    When i don't have 10 stacks of [item - soul] i deal 1000 damage [like in the trigger] but when i have 10 stacks i deal 200 + 1000 damage (both damage triggers apply) Why? It should only deal 200 damage if i have 10 stacks. AoE Thunder Clap Events Unit - A unit Starts the effect of...
  40. ZeroGravity

    Trade System

    Hi, I wanna create a trade resource trigger for players in the same team, but I don't know where to start or how to do it so any guideline or trigger recommendation for this system? Thanks in advance!
  41. Recklessness

    Question about Bribes Damage Engine

    I am trying to make a spell based on phoenix fire, but I want the phoenix fire itself to deal normal type damage rather than spell damage. My question is can Bribes damage engine enable me to change that, if not thank you... if yes how so?
  42. Bloodheaven_

    [Solved] Map Desync at Start of Game #Reforged

    Hi there, I'm currently working on my Stronghold Remastered Project for Reforged. I implemented a Menu that allows to choose multiple Maps. Later I hosted the Map, only to find out that multiple players desync right at the start. Since I added that System my Map has an desync issue. Usually 1-3...
  43. HolyWillRise

    Help! I have trigger for spell damage issue! It gives negative value, why?

    This trigger works fine Robe of Magic Spell Power Copy 3 Events Game - DamageModifierEvent becomes Equal to 1.00 Conditions (DamageEventSource has an item of type |c0096FF96Mantle of Magic [4/5]|r) Equal to True IsDamageSpell Equal to True Actions Set...
  44. A Rather Wily Beaver

    [Trigger] Making a tether ability's special effects MUI?

    Hello again everyone, Today I'm working on an ability that's mostly working, but there's a key error I'm having difficulty correcting. Here's the goal: the caster activates the ability, Lightning Lure, which is based on Chain Lightning, on a target enemy unit. The Chain Lightning special...
  45. HolyWillRise

    How to make shockwave or spell like shockwave that hit only 1 enemy?

    I need ability that reques aiming and its not target ability (like shockwave) but the problem is that shockwave continiue forward even after hiting an enemy,i want the ability to dissapear after hiting the first enemy. (The idea is to make Fireball ability with no cooldown and i want it to...
  46. HolyWillRise

    How to make an item and buff that reduce mana cost of all abilities

    Item and buff that reduce mana cost of all spells by 20% i saw that in 1 map called heroic town.
  47. HolyWillRise

    Help. Can [Sleep] be combined with banish in 1 spell? or sleep + banish effect for bonus damage take

    i want to make sleep + banish in 1 spell but my dummy dont work.. It appears but the enemy is not banished, why? Is there a way to do sleep + effect of banish for bonus damage taken from abillities, thats what i want to do. Spy Snipe Banish Events Unit - A unit Starts the effect...
  48. A Rather Wily Beaver

    [Trigger] Creating a GUI-friendly damage shield?

    Hello again everyone, Today I'm working on a spell that, when cast on a unit, absorbs the next incoming X damage that occurs within a set time range. I have it working for 1 unit at a time, but I'm struggling to get it to work for multiple instances at the same time. Here are my triggers...
  49. A Rather Wily Beaver

    [Trigger] How to make this (currently working) skillshot MUI?

    Hi all, I currently have a skillshot that seems to be working as hoped for, but I don't think it's currently MUI. I'm hoping to rectify this problem, and could definitely use help with this matter! The triggers are as follows: Non MUI Skillshot Cast Events Unit - A unit Starts...
  50. cleavinghammer

    [Solved] Siphon Mana on ally not working when triggered.

    The following trigger isn't working and I can't figure out why: mana restore libr Events Unit - A unit Begins casting an ability Conditions ((Triggering unit) Equal to High Librarian 0460 <gen>) and ((Ability being cast) Equal to Mana Shield) Actions Unit -...
Top