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

    [Spell] Neutral Building Spell

    Hi. I'm currently trying to create a neutral tower that exists on the map from the get go. If you approach this building you can press a spell. This spell will make the buyer the new owner of the building, and I'd actually like for the building to "forget" the spell after the purchase has been...
  2. Алексић Владица.

    [General] Spawn unit goes into random region.

    Greetings! I have two little, easy-to-solve, problem and I'm asking asking for help. I'm pretty sure that pure title explained it. I make trigger that unit spawn in region "1", and then second trigger when that same unit enters in that region attack-move to another but unit spawn and don't going...
  3. NickGreefpool

    [Solved] Problem with Item Dropping Heroes

    I'm making a Hero Arena of sorts and i have a trigger for making players get an item after an elapsed time. The problem is that sometimes the items seem to dropp (i'll expand on this). The items are listed as 'not dropped when the hero dies'. Listing the items as 'Not Droppable' didn't help...
  4. El Saif

    [General] Correct ways to use new natives

    So, i've been confused about how to use some of new natives we got. Especially those Ability Mana and Cooldown parts. I tried using them on trigger like when the unit starts the effect on an ability, periodic timer, etc. But it seems doesn't really work at all. Anybody knows why? Or i missing...
  5. victorsuazo1991

    Level 10 - Neo-Genesis RPG

    Query. Create a single-player RPG; in which one of your missions was to raise your Hero to level 10, until there all good, because when reaching that level, the Hero received the corresponding reward and the quest was discarded. Now I want to make this multiplayer map ... it happens that when...
  6. victorsuazo1991

    Remove camera online, and destroy Cage

    Hello, I have two questions that I would need help from experienced people. 1- I need to destroy the cage, create a unit only for the player who destroyed the cage. (if player 1 destroyed it, that unit released is only for him) Try placing Owner of Killing unit, but nothing happened. 2- The...
  7. victorsuazo1991

    Help me

    Hi. I would like to convert a single-player RPG into an online modality RPG. Starting from there, I would like to know how to make the object used in this trigger, (Player 1) when acquired by any other player, launch the same effect. Something like Owned by random player or I do not know how it...
  8. Shunpomaster

    My First Mui spell need a check

    I just made my first mui spell, and its working very well at least as far as i know about triggering. Here is what i want to know: Edit: only these is what i need 1- if there is anything still need a fix or make it better. 2- better spell to use for dummy. Channel ability like life drain but...
  9. Recklessness

    Flame Nova ability not working properly

    Essentially, I am trying to create the following spell : Flame Nova: Cause a nova of fire to explode outwards from the targeted area dealing (1.5 x Intelligence) damage to all units caught within. Additionally, units caught within flame nova are set Ablaze and will explode after 3 seconds...
  10. ZeroGravity

    [Trigger] My map is lagging because of something unknown?

    Hi, I have been working on this map for a while now. I have been testing this on almost daily basis and there's an issue that I cannot solve so I need help if possible. My map is a co-op heroes survival map where people do objective and survive waves of enemies. I always notice that there is a...
  11. Shunpomaster

    [Solved]Trigger Leak Check

    Does This trigger leak? The special effect in the first trigger, and the destroy on second Rock Special Effect Events Time - Every 0.35 seconds of game time Conditions Actions Set SE_DestroyWrite = (SE_DestroyWrite + 1) Set DB_AbP[1] = (Position of DB_DU[1])...
  12. Shunpomaster

    a way to stop ordered to attack units From Chasing

    I made a trigger to make units attack the target, but the problem is when they attack they chase forever even if they left the guard distance. I know that is because of ordering them to attack but is there anything i can do to make them not to chase out of their guard distance? Path...
  13. JustTom

    Fixing Leak If Spell is Interrupted;

    I have created a working Mass Teleport ability out of Channel which requires no targets and teleports allies. I want to know how to clear the leaks in the second trigger if the spell is interrupted before it takes place. I have to use the variables that need cleared, which are setup in the first...
  14. JustTom

    Ability Help (Non-channel Blizzard Applying Buff)

    I am working on a blizzard ability that doesn't require channeling. The ability works and deals the correct damage using dummy casts in the trigger; however, I cannot apply a cold buff consistently. The buff, Chilling Touch, only applies the very first time the ability is cast then never again...
  15. Modding-Ivan

    [Trigger] Clarifying variables

    So i was trying to assign a location variable to another location variable also the logic of my trigger was all correct except that i notice is that when i try to reassign the latter variable it takes and removes the value of the former variable. If i may ask are gui variables pointers? Are...
  16. Emin

    How to trigger a unit that's yet on the map?

    Unit takes a damage, then it is ordered to cast polymorph to the source of the damage. No problem there it works just fine. But, only one unit does that and that unit is on the map. What about units that are yet to be produced? I can't work it around. Anyone help me?
  17. victorsuazo1991

    Trigger Problem - Problema Detonador

    Hola. Estoy iniciando con esto de los disparadores por lo que no tengo mucho conocimiento. Resulta que quiero crear un disparo que cuando el héroe llegue a un Nivel 10, automáticamente cree un edificio en la parte superior del mapa . Logre hacerlo, pero, pasa que cuando el Heroe mata a un Creep...
  18. Achille

    Streamlining Unit Spawn Trigger

    Hello friends, I am currently working on a spawn based RTS and I need a bit of help making an efficient spawn trigger for the units. Currently i'm using a 'for loop' to spawn multiple units in accordance to the amount of quarters (spawn amount upgrade), while issuing an order to each unit to...
  19. LazyKnight

    [Solved] [Music] How to smooth switch music? Game hang up when "PlayMusic"/"PlayMusicEx"

    Hi there. I'm trying to make a BGM switching system in my map. I want to dynamic switch specific music when player enter the different area. But the question is when I call "PlayMusic" or "PlayMusicEx" to play my custom imported music file, the game will "hang up" for about 2 seconds. I think...
  20. doomhammer99

    [Trigger] GUI

    Good Day!, I've got 2 problems. I'm trying to make a GUI Spell Pack. I won't spoil about it(just a bit though). [Q] - [W] - Summons a unit, can summon multiple units within 2-3seconds [W] will initially be your first spell, before you can cast [Q] and [E], meaning both spells are useless...
  21. doomhammer99

    [Trigger] GUI

    Good Day!, I've got 2 problems. I'm trying to make a GUI Spell Pack. I won't spoil about it(just a bit though). [Q] - [W] - Summons a unit, can summon multiple units within 2-3seconds [W] will initially be your first spell, before you can cast [Q] and [E], meaning both spells are useless...
  22. cvb1

    triggered critchance

    Hi. After searching the internet and all the spells on this site, I can't seem to find a way to increase the critchance of units through triggers. I want to give items critchance. So if a unit picks up an item with like 7% critchance, then it should increase critchance with 7% for that unit...
  23. Voxelvoid

    Is there a leak here & how do I fix it?

    Please provide with a step-by-step guide.
  24. Fendol

    How can I make a trigger that adds 1 every time an object is obtained?

    Let me explain, I want to make a detonator that when a hero takes an object that number is added to that of a whole number. Something like that: For example, If I do a mission in which they must get 4 items and I put a message for each item that is achieved. How should I do it?
  25. Voxelvoid

    How to "Remove Reviving"

    How do I remove reviving? In many custom maps that I have played you can often choose a hero/character from a set of characters. If your character dies you cannot revive it. Originally I thought that this would stop people from training new heroes and reviving them. But as it says, it only...
  26. olvenmage

    Code compile errors.

    Hey there everyone, I've been away for 2.5 years or so, and finally found my map back that I had started then. I made a custom race, using a custom build animation, which, at some point in time worked, I remember. But when I loaded up the map and tried it out, I got tons of "Unknown compile...
  27. Voxelvoid

    When a unit dies, its current mana is converted to gold

    If I have a Sheep, its max mana is 100 and it has 1 mana/sec regen. When its current mana reaches, for example, 60. The player then kills the Sheep and the player gains 60 gold. How do I make a trigger for that? Please explain with a STEP-BY-STEP guide. EDIT: Garfield1337 posted a very logical...
  28. Oranki

    [Trigger] Stuttering Map Lag Problem

    Hello there. In map project I am participating, Crusade Over Europe, has stuttering map lag which seems to happen after game has run for around 45 minutes or more. The lag seems to get worse the more there are units and the lag ususally causes players to time out or even crash eventually. There...
  29. Mistablockout

    "Boss Fight" Trigger

    To set the groundwork here, you're supposed to go into this encampment and slay all of the enemy minions before the boss (formerly a neutral hero with invulnerability) becomes hostile to players. So, in steps: 1 - Kill all enemy minions 2 - Boss speaks 3 - Boss starts attacking 4 - Boss drops...
  30. Panda

    [Trigger] Trigger Help For My Map

    Hey, I need help with triggering on a couple maps of mine, i finished the terrain and a little bit of the models and doodads. I just need someone who is really good at triggers too give me some help since i know so little about them. Some triggers shouldn't be that hard too do, most of my...
  31. Cryophoenix

    [Spell] Creating a Passive with Cooldown

    Trying to create passive abilities (for units and items) which have a cooldown. Example: Deals x damage when attacked, with a cooldown of x seconds. Regains x HP when attacking, with a cooldown of x seconds. Attacks twice every x seconds. ETC. The only idea I had was to create a trigger which...
  32. B

    Help with trigger.

    the trigger i have is (Event When player owned unit is attacked/ condition: Attacking unit is equal to Units of type/ Action: set base damage of attacked unit to attacked unit +2) and i have one for each tower type so its creating MASSIVE lag. How can i keep the triggers but have a less laggy event?
  33. matin45

    Leaderboard

    Hi again. I want to make a leaderboard like this picture: How I can make it?
  34. matin45

    Mode Selection System

    Hi Guys. How I can deploy a mode selection system for my map?
  35. Thiiago

    [Trigger Spell] Just an circular knockback

    I need help to make an spell.. Name is: Roar of Wild "Push all enemies around the caster to back" Red points - The Caster Green points - The Enemies Knockbackeds Light Blue arrows - The direction of enemies is knockbacked Blue circle - Max area os Knockback in circular around caster The AoE...
  36. P

    Looking for a way to start a map with upgrade researched

    Hi. In Chapter Seven of Orc Campaign (Oracle) units Witch Doctor and Shaman start with Master tier upgrades. I am trying to create something similar but can't find a right trigger / action to achieve that. Could use some help. Thanks in advance. EDIT: Never mind. I managed to find what I was...
  37. Mandriel

    [Trigger] Trigger: Play sound when casting a spell

    I want the sound "shimmeringPortalBirth" to be played when a hero (Archimonde in this case) uses a certain ability (Dark Portal/ reskinned Pocket Factory in this case). I am using this trigger but the sound doesn't play anyway. The sound file is exported. Any ideas?
  38. FutureWolf4

    [Trigger] Custom Summoning Spell - Summoned Units Don't Last Forever [Solved]

    Hello, I have a problem regarding a custom spell I made for a hero (Gnoll Chieftain) called "Gnoll Patrol". The spell in question summons different Gnoll-Type units that last forever to fight alongside the Gnoll Chieftain. In order to make the spell summon different units, I made the main...
  39. JackAcorda

    [Spell] Battle Roar based on stats

    Can somebody please help me how to increase damage and armor based on a hero's stats whenever Battle Roar is casted? War Cry Cast Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to War Cry Actions Set Unit_WC_Caster...
  40. KmLocco1666

    [Trigger] Tree/Selectable in Game Function Via Trigger

    I'm working on a item based skill that allows the player to gather wood, but i want to be able to hide the the Art - SelectAble In Game Feature when the player isn't holding the Item(Axe) And I was wondering if you need to make it a custom script or vJass for this, or even a means to change...
  41. Nemesis_

    Training Guard units

    I need help where in the event a unit dies, a unit prod structure will train another unit to replace it(moving to it's region and facing north) I would like it such that this newly trained unit, when killed, also will trigger another unit to be trained to take it's place so on and on.
  42. Shooterman56

    Fixing mining trigger

    Hello, I am working on a map that involves mining. The mining system has been integrated into a damage detected system that is also used for other professions. It is written so that when a unit holds the pickaxe item, and attacks a ore rock, they will create resources. I have gotten the system...
  43. Shooterman56

    Rename command

    I am trying to give players the command to rename themselves. I've hit a bit of a road block can't figure out what's missing here. Events Player - Player 1 (Red) types a chat message containing -rename as A substring Player - Player 2 (Blue) types a chat message containing -rename as A...
  44. Shooterman56

    Mountain Giant Animation Trigger

    Hi all, I am using the mountain giant model for a map I am working on, this unit has an animation called 'eattree' where it grabs a tree from the ground. The tree that the unit is pulling up is not textured however. Here is the trigger I am using. Events: Time - Every 2.00 seconds of game time...
  45. Recklessness

    No idea how to do this trigger

    So I want to know if it is possible to make a GUI trigger that will modify a heroes attributes constantly based off of his other attributes. For example one of my heroes has a passive that increases his Agility by 20% of whatever his Strength is. Problem is I cant figure out a way to make that...
  46. ZeroGravity

    [Trigger] My trigger disabled custom models and caused weird stuffs?

    So I restart my pc, and open the world editor, it turns out that all of custom models are disabled and unusable for some reasons. Not only that but my custom loading screen is unusable as well. Additionally, sometimes I couldn't save my map so I have to try to save it twice or more to make it...
  47. Invisible Pink Unicorn

    [Solved] Problem with loading game Cache

    Hello Everyone. For the past few days i've been trying to make a prototype of the map transition system i will be using in my next project. I am using one map as the selection Level for all the other maps. Most of the system works I can go back and forth between the main map and the secondary...
  48. ShaDowPoWeR

    multiple Generic unit events. optimization?

    so, I have a lot of generic unit events for manipulating items, spells, deaths and attacks. using JASS (converted from GUI) * Some of these triggers have conditions, some have if then else and some have both. * Some of these triggers have complex conditions. What's the most efficient way of...
  49. TheSilverhand

    Creep Wars Content help?

    I have been working on this project solo for over a year now, and I am at need of someone who could help me with my project. I have a map called Creep wars: CreepWarsTSHv39 The goal of the game is to Destroy the enemy castle, where you can also conquer control points to earn extra Gold &...
Back
Top