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

    [Trigger] How to make Entering Region a MUI?

    I'm an amateur map maker, so I'm making triggers that I do not know if they are MUI or not. Please someone tell me how do i make entering region a MUI. For my RPG map Shipyard Events Unit - A unit enters Shipyard <gen> Conditions (Unit-type of (Entering unit)) Equal to...
  2. Master_Pels

    [Trigger] Does My Trigger Have Leaks?

    Hi guys I would like to ask if this trigger do have an existing leaks. Thank Youu~ Texts Events Conditions Actions Set temp_point_1 = (Center of Shipyard <gen>) Floating Text - Create floating text that reads Shipyard at temp_point_1 with Z offset 0.00, using font...
  3. Fjoelnir

    Dota 2 Outworld Devourer's Essence Aura

    Hello I should like to ask and if possible get help on recreating OD's Essence Aura on my map. I have found results on the gist of it, the when cast spells imbue a chance to set the mana of the triggering unit to X% part, but now I have a new problem which is to trigger this aura when a unit is...
  4. RayzerCalitri

    [Spell] Chance to Revive (reincarnation) spell

    I'm trying to make an ability that triggers a non-assured revive to a hero when it dies, used with a percentage (integer). When I try to test it without the ability requirement it works, but when i try to add the ability condition it doesnt work. The ability that I want to add the chance to...
  5. Cobalt

    [General] How do I check if a point is within range of a unit with a certain unit type?

    I have a trigger that requires checking whether a certain point is within X range of any unit of a specific unit type. More specifically I want to detect some kind of collision. I've looked for an appropriate condition but I haven't been able to find anything. I tried playing around with the...
  6. Cryophoenix

    [Spell] Creating an 'double shockwave' ability

    Trying to create an ability with shoots two projectiles from each side. (Something like this) All I could manage is creating the dummy caster at a set location, however that doesn't work when my caster changes it's facing angle as the dummy always spawn at X,X point. Can someone show me an...
  7. MasterTrainer

    [Trigger] Unit (Projectile) Movement and a multi-phase spell check

    I currently don't have access to the trigger editor at the moment, so I had to write this on notepad. The spell basically creates a projectile unit at the position of the caster, sends it to the target point (over time) then when the projectile reaches the target point, it stops, then...
  8. Ungoliath

    Problem with "Head Lock On" trigger

    Hello! I've encountered a weird bug (or something like it). I'm using this model: RPG Hero: Human Villager I had the unit lock its head on another unit, which worked fine. I lowered his animation speed to make the head turn more smoothly - again, no problem. Now, after importing some custom...
  9. CodeBlack

    [Trigger] Unit selection Marker

    Hey Guys, Me again with a trigger problem... I try to create a trigger that marks Slots (units) around the selected one, to show the player wich buildings would be affected by the currently selected one. My version works fine when you select a single slot, but it bugs out and leaves behind...
  10. Abyssion

    [Solved] Making Spawned Destructible Drop Loot on Death

    Hello hive! I am working on a simple system that spawns a destructible like crates and barrels in designated regions on the map. These barrels have a chance to drop some loot on death, my problem is getting them to drop loot on death, since they are spawned randomly in game I cannot use standard...
  11. kirimura123

    how to make an ability that damages enemy based on caster attack damage?

    i want to ask, how to make an ability that will damage an enemy in area 150 based on caster attack damage, you know, attack damage that are in unit stats or basic attack damage, or maybe auto attack damage. if you know please tell me, i really need it :D
  12. Thiiago

    Moon Glaive skill help

    I need an spells complicated to describe, but i try. Is an "frontal" attack directed to "point clicked" Basically is the "Fan of Knifes" of Maiev Shadowsong in HotS look in 1:01 work like. You click in point.. and the Warden "damages" all units in this "angle" Angle = 90º Distance of...
  13. Nemesis_

    [Solved] Opened Elven Gate model

    Well so I've been trying to make a gate unit that opens and closes via the bear form ability. Been rather successful as of yet(will update if solution is found) but I cant find the opened gate model so use as the "opened" gate. I know that the "opened" gate is a animation, but just wanna know if...
  14. Duvo

    [Spell] Is is possible to run looping animations on the transport used for cargo hold?

    For example, lets say you use a blacksmith as a transport for peasants to enter, using the cargo hold ability. could you make it so that the blacksmith will play a looping animation like the one it uses when researching an ability? and then stop when units leave.
  15. CodeBlack

    [Trigger] Setup Voting System Bug

    Hey Guys! I am using a simple Voting System for some of my current Projects and i stumbled across a Problem. When multiple players vote at the same time, some of them dont see all options or get kicked out of the dialog entirely. They cant Vote for every option and thus the Game doesnt start...
  16. Abyssion

    [General] Setting Terain Fog to Specific Region

    Hello Hive, Quick question... Is there a way to set terrain fog to a specific region instead of the entire map? I don't see the option in the trigger editor. Its only a generic set fog for the map. Also what about lighting, is that also possible for specific regions? Enviornment Initialization...
  17. Abyssion

    [Trigger] Periodic Infernal Spell on Unit Group

    Hello again Hive, I am currently working on a 3v3 map that also has mini instance dungeons that reward the player with a powerful item to help turn the tides in their favor. In one of the instances, when the player teleports to the instance I made a trigger that causes an infernal to spawn on a...
  18. Abyssion

    [Solved] Getting Array Length

    Hello Hive, Quick question, is there a way to grab the current length of an array using GUI? I need it in order to finish my custom item table trigger system for bonus loot dropped by creeps. It works like this: Creep dies 20% chance: create 1 BonusItem[Math:random number between 0 and...
  19. Abyssion

    [Solved] Reset Ability Cooldown for Item

    Hello Hive! I have been working on a new item on my map which provides a passive aura and has a use to reset the Hero's ability cooldowns. Everything is working fine except for 1 thing, when the hero uses the item, the items cooldown is also reset, making it too OP and broken. Is there any way...
  20. Abyssion

    [Spell] Frost Arrows Dynamic Damage

    Hello Hive! I am working a Frost Arrow Spell that deals damage partially based on the casters intelligence. It works when I make the unit cast Frost Arrows, but the extra damage is not being dealt when the unit auto casts it. Here is my simple trigger: Frost Arrows Events Unit - A...
  21. Abyssion

    [Spell] Blocking Trigger Spell Damage

    Hello everyone, I have a map where Hero ability damage is caused by triggers (Because I need dynamic damage for the abilities as they are partly affect by Hero Stats). I noticed the spell block ability doesn't block damage caused by trigger spells. Is there a way to fix this? Thanks in advance.
  22. Abyssion

    [Solved] Unit Movement Cancels Spell Damage

    Hello Hive, I created a Trigger spell based on Storm Bolt, everything is working properly except for 1 thing. If the caster moves before the bolt hits the target, it does no damage. Is there a way to fix this? Here is my spell trigger... Arcane Blast Events Unit - A unit Begins...
  23. Abyssion

    [Solved] Increase Ability Level By Trigger

    Hello all, I have a question regarding leveling abilities via trigger. I have an ability based on Periapt of Vitality (Item ability that I changed to unit ability) with 10 levels each level adding an additional 100 hp to the summoned unit. The problem is the ability is leveling but the unit is...
  24. Maks Lion Of Orcs

    HELP :(

    By any chance could someone possibly work with me collab or just give me a couple of pointers on making like a rpg map with triggers and making enterable houses,dungeons,caves guard AI balanced leveling and xp system the whole general idea behind it is that all the franchise characters from...
  25. TheAyalalalalon

    [Spell] Random aoe Unit pick and check

    Hello I need some help with a trigger i couldn't complete for an ability The ability is target to a point When cast it creates a dummy and pick one random enemy organic unit in a range (prioritize heroes) and starts damaging it every second If the unit leaves the maximum area the dummy will...
  26. Ksatnod

    [Solved] Looking for help in determining on whether or not a certain trigger would work

    It's difficult for me to check to see if this trigger actually works or not, does it look like it will treat my item variable as the intended item if I've set it as such? And is there anything else that any of you are seeing or noticing that I might be missing? I'm not knowledgeable in JASS at...
  27. Manuel

    [Trigger] My shop system didnt work.

    I have 2 Shops. The one works fine.. For the second one i just make the same variables but with sufix Mage.7 When I try to save it i get the Compile Error : Name expected. It would be really nice if u can help me with that. Its a GUI Shop. Please it would be really nice if someone...
  28. Shaeam

    [Solved] Weird Trigger Issue?

    Essentially I've created a creep system much like DotA's where it spawns a single random group per creep camp. For example; for an easy camp it'll create 3 Centaurs, 3 Satyrs, or 3 Bandits. A hard camp will spawn 3 Demons, 3 Naga, or 3 Tauren. It works fine; if every creep camp is set to...
  29. InSaNe_97

    Triggering exact hero?

    I need help, again... First to thank you everyone for supporting me and my work giving me great answers and what I ask for. Now I need some simple thing, I guessing it's doing in variables, I never before used it because it's so confusing to me. So what's exactly I need? I need make when hero...
  30. InSaNe_97

    Potion that restore mana/hp by percent of users max mana/hp?

    Hello everyone. I need to make mana potion which when used restore mana of hero for 150+20% of his maximum mana. How I can do it? I try with: "Events: Unit - A unit Uses an item Conditions: (Item-type of (Last created item)) Equal to Mana Stone Actions: Unit - Set mana of (Triggering unit) to...
  31. Mr. Ozil

    [Trigger] Why is my AI not creeping?

    I've been trying to get an AI-controlled hero to farm creeps within a contained region for a while. Here is my latest failed attempt and I don't see why the trigger is broken. Farming Central New Copy Events Unit - A unit Dies Conditions (Central Creeps <gen> contains...
  32. Deserted

    [Spell] My trigger fails to pick a unit

    A wrote a simple (as I thought) trigger, that was expected to add some Ice Novas during Blizzard. I'm creating 2 dummies that periodicaly cast Ice Novas at enemies at cast point. Now I need to stop Ice Novas from being casted as soos as AM stops casting Blizzard. I decided to simply remove...
  33. Mr. Ozil

    [Solved] Long wait causes revival to fail?

    My creep revival system works perfectly with a 30 second wait but not a 300 second wait? Here are the triggers: Revival System Events Map initialization Conditions Actions Unit Group - Pick every unit in (Units in (Playable map area) owned by Neutral Hostile) and do...
  34. Mr. Ozil

    [Solved] AI Hero to pick up items

    First post and a I'm a bit of a mapmaking noob so bear with me. I want my AI controlled enemy hero "Black Arrow" to pick up items/power ups etc. while farming creeps in my slightly sloppy, highly improvised single player DOTA style map. I don't know how to get Black Arrow to wait until the end...
  35. Yours Truly

    [Solved] This somehow crashes the game.

    Uncontrollable Footman Events Unit - A unit Is issued an order targeting an object Unit - A unit Is issued an order targeting a point Unit - A unit Is issued an order with no target Conditions (Unit-type of (Triggering unit)) Equal to (==) Man of Foot...
  36. Seavalan Legend

    Cleave w/o Slam Animation

    Whenever a unit has an ability based on Cleave, it uses its Slam animation. I am not skilled in triggers, so I was wondering if anyone could help me make a trigger for three levels of Cleave, identical to its non-trigger counter-part, but does not force the unit to using their Slam animation. I...
  37. nightelfbuilder

    Stop units using Regions

    how to make a trigger that uses region to stop a unit from moving? I mean the region will act like a path blocker.
  38. DaneTheBeast

    [vJASS] Replacing TriggerSleepAction with a timer

    function Actions takes nothing returns nothing local unit Attacker = GetAttacker() local integer Loop = 2 //SOME CODE. . . loop exitwhen Loop > 16 if ((IsUnitInGroup(Attacker, udg_ugCreepGroup_Array[Loop]) == true)) then call TriggerSleepAction(0.10)...
  39. MangaPwnz

    [Trigger] Fixing Leaks

    Hi, I recently started working on a map (about 2-3 days ago) and I just can't seem to get my head around leaks. Could someone please tell me where this leaks and how to fix it? This is what I've come up with on my own. 1. Special effect creation might leak. Not sure if "Position of Shockwave...
  40. kirimura123

    How to increase Unit Damage using Trigger?

    So after i know how to make stacked ability, now i want to know how to increase Unit Damage using trigger, Example: (Increase the unit damage by (Total Str x 5))
  41. Thunder7rd

    [Solved] Profession (iten creation and iten targeting)

    so.. im working in a map and it has profession, but im having some trouble with my first of them (alchemy), i put some restriction to make only the potion you can, but it doesn't work as it should be... plz help.. Alchemy Events Unit - A unit Begins casting an ability Conditions...
  42. Thunder7rd

    [Spell] Profession Trigger

    so.. im working in a map and it has profession, but im having some trouble with my first of them (alchemy), i put some restriction to make only the potion you can, but it doesn't work as it should be... plz help.. Alchemy Events Unit - A unit Begins casting an ability Conditions...
  43. Lurker99

    Faction Selection for a Wc2 Melee

    Hello Hive, I am working on a melee map that will use wc2 factions (not just Orc and Humans, but the actually kingdoms and clans). I require a trigger system that will allow the player to select their nation or clan simply by using the assigned team color at the map start ie playing as human...
  44. Thiiago

    [Trigger] Problem with new attributes system

    Hi, I do not like the "attributes" system that Warcraft makes available. Why do I need 4 attributes: Body, Agility, Mind and Spirit. not just 4. Ok I worked on a system but I'm having trouble making it work. Probably something is missing or is the case of one of those "rare" bugs of the trigger...
  45. Woodenplank

    [Trigger] Modifying Max Range with Acquisition Range

    I was trying to make a (relatively simple, I thought) spell. When used; it applies a buff to the User which gradually improves range over its duration. I used the trick of setting the unit's range to 190000000, and simply limiting the acquisition range to 550 (default max range). However...
  46. calvinsvahn97

    Timed life for certein units

    I am currently working on a larger map and I would like some help. Im trying to create a timed life for a milita type unit on the map, That is to say peasent arming them self and after a time dying, not reverting back to peasents but actually dying any and all help would be appreciated
  47. GBeo

    Help with passive spells

    Hi, I need help to make a passive spell. I'm not good at trigger right now. Passive: Whenever the [Hero] is attacked, have % the attacked unit will take X damge and be root/or any cc for X second. Thanks! :)
  48. Invisible Pink Unicorn

    Check if point is passable

    So essentially ive been trying to make a dash skill that stopped when the unit collides with a Wall/Building/DDooa (unpassable terrain in general) . I know how to do the dash itself and i know how to make the unit stop upon reaching the destinuppon as well as stop uppon hitting a unit. Its the...
Top