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

    Multiple Cast with dummies on Spell Help

    Anyone Knows How to make my Trigger able to cast its spell multiple times without any problems? Sword Strike Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to (Elaina) Geo Fury Actions Set SwordStrike_Caster =...
  2. IronBladeClan

    [Trigger] Sensor Tower-like radar for Warcraft 3

    I want to make a system that is reminiscent of (but not the same as) Starcraft 2's Radar, but I don't know how or if it's possible. Would someone be able to make this for me? 🥺 I feel like it'd be useful to other people as well. I've found examples and requests for this from 15+ years ago, but...
  3. ebontope

    [Solved] Keeping enemy structures visible in trigger-created fog of war without direct player observation

    This might be a bit difficult to explain, but I will try my best to be thorough. In a map for a campaign I'm working on, I want to display the location of the enemy Stronghold with a ping on the minimap and visibility through fog of war. I've found the neccesary triggers, but the problem I'm...
  4. ZEROZX99

    Why isn't my trigger working? Range passive ability

    Hi, I'm trying to create a trigger to increase a hero's attack range at level 6.I decided to do this using the Metamorphosis ability, replacing one unit with another when the skill is learned.I set it up this way, but it's not working: LongRange Events Unit - A unit Learns an...
  5. Lordofth3cl4n

    Waygates type ability portal.

    Hi there , im trying to make a portal ability for medivh. just like waygates works. but i want medivh hero, to summon a portal then make the portal using an other ability to summon a second portal. knowing this you can go back and forth threw the portal until it expires. So summon a portal ...
  6. SMOrc

    How to make a 2-Part Unit System for Tanks

    Hi Guys, I'm currently testing and trying to make a unit with head and body like a tank for a map. The body and head should be separate to turn/rotate in different directions and be aimable via left click for the turret and movement controls via WASD for example. To fire i would like to have a...
  7. PerPlumeShake

    [Spell] Spinning balls and auto move to nearest target

    Hello everyone, is there any existing spellpack that do this? if not, could you help me via gui? ball last within a certain period of time.
  8. PerPlumeShake

    [Spell] Dummies Movement

    Hello I found a map called map called Rocket System v 1.0d. however, when i set it as target skill. some of the missile is doesn't lands on the Target Unit if the Caster is close, it only just spins around when the Target Unit stood still. what should i do? i'm trying to make it like this...
  9. PerPlumeShake

    [Spell] "Sword Hit test" skill

    Hello, i was just scrolling something on YouTube and i found this old video of Blink's map that already seem axed. i was able to create the Sword Models myself using the sword model from the character itself for the Character Such as the single and the spinning ones around her. All things is...
  10. Wing-Span

    They finally fixed "Item Attack Lightning Bonus (new)"

    Blizzard has fixed this bug — now abilities trigger correctly even when a unit automatically attacks an enemy that appears nearby. So, now that this is actually usable, I have a question: is there any theoretical way to detect the attacking unit? I know about the global “Unit is Attacked”...
  11. Wing-Span

    How to transfer data in JASS using a timer?

    I've heard this is possible. For example, I could create a trigger: "unit enters the map", and then do something like: local unit u = GetTriggerUnit() call TriggerSleepAction(15.0) // or PolledWait call KillUnit(u) But I've also heard that PolledWait/TriggerSleepAction is really bad — it...
  12. AnonHero123

    Mirror Image follows new hero's skin?

    So I've been using this skin randomizer by "Uncle" Uncle's skin randomizer tutorial now the problem is, the illusions created by the Mirror Image ability uses the "base" blademaster model, instead of the assigned random model that I set in game! In the picture, the "base" model skin is the...
  13. LightRipper

    [Spell] A form of Blink Strike (cooldown issue) [Solved]

    The ability is: A blink that teleports you behind and enemy, damages him and steals gold. Blink Strike Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Swift Thrust Actions Set VariableSet BlinkStrike_Caster =...
  14. Luashine

    [Trigger] What's the difference between TriggerRegister-FilterUnitEvent and -UnitEvent?

    Hi there. See title. Jass/Lua, doesn't matter. The examples will be in Lua, but I would like to know what's the difference or an explanation for this behavior? sameTrigger = CreateTrigger() sheep = CreateUnit(Player(0), FourCC"nshe", -256, 0, 270.0) TriggerRegisterUnitEvent(sameTrigger, sheep...
  15. R

    Ability cooldown trigger

    Unit - For Unit (Triggering unit), Set cooldown of ability AnyAbility, Level: 1 to 9.00 I can't find any action that I can set to this... Any idea why? I've made a custom Blink ability, works completely fine - just it has no cooldown. Tried with adding Pause unit before and Unpause unit after...
  16. =Junpei=

    Spawning units with effects

    So I plan to spawn units via trigger with a bit of animation as I think units appearing out of nowhere is too weird and I just plan to do aesthetics. For example is if a unit is about to spawn, an effect appears first such as the diamond of summoning effect or raise dead effect. Although it can...
  17. Wing-Span

    How to do without dummy?

    A dummy unit does not allow, for example, to apply a corruption effect that takes away armor before damage is dealt. The only solution is a custom ability that triggers with a pre-damage event. But how can I use the editor's capabilities to apply a debuff before damage is dealt? How can I draw...
  18. Hastur

    Faction change spell, need help

    Hello ! I'm trying to create a “madness” spell that would be based on the Bloodlust spell but in addition to that would make the target hostile (neutral hostile), I took the Bloodlust base and renamed the buff to Madness I then tried to make the rest of the spell using triggers to allow to force...
  19. Lordliw

    Turning melee ai into campaign ai

    The title is pretty straightforward. I took the melee human ai script and edited in high elven parts to adjust it for a custom map of mine. As far as my intuition goes, I'm in a dead end where I don't see a plausible solution, I'm not a programmer – the most I can do is set up peons, build...
  20. Wing-Span

    Removing a unit from a squad

    I apologize right away, I'm a complete zero in creating squads. Now to the point: how to add units to a squad and remove them from it after, say, 10 seconds? In the order in which this unit was added to the squad. I tried writing the unit to a variable: "action occurs" "(C) = (C + 1)" "Unit =...
  21. januswr

    [Trigger] Help with combining spells through Dummy

    Hi, I am a beginner spell maker, I read some introductary guides, and have tried to create 2 spells but I can't get them to work. The problem with both is that I try to combine two spell effects in one, making the second effect be cast by a Dummy. Spell 1: The hero casts Bloodlust, and after...
  22. LightNvs

    [Trigger] Need help instead of damage once it double for some reason ( using damage engine )

    i have this passive that dealt bonus 25 universal damage to any enemy but instead of 25 it dealt 50 for some reason try anything but doesnt seems to work Im new to trigger so i dont really know whats going on xD
  23. Wing-Span

    The problem of illusions.

    Made the Blademaster's illusions deal 100% damage. However, this damage does not take into account green damage received, for example, from items (I don't know about auras, but I think so too). So here's the question: is it possible to do something about this? Items play a big role in my map...
  24. Wing-Span

    Changing the missile

    Hello. I created an item that when activated gives the hero barrage for 5 seconds, like it temporarily attacks three targets. The problem is that I can't change the projectile type for each individual hero. I'm trying to determine the projectile type of the hero (it seems easy) and change the...
  25. Wing-Span

    Why doesn't this work?

    As far as I know, towers attack in any direction without turning. The same goes for activating spells, right? This means that creating a dummy unit in the form of a tower does not require turning it to face the target each time. However, I created a dummy unit-tower, and nothing works. Abilities...
  26. Firexjkxfire

    [General] How to Rotate Constructed Buildings

    Yes there about 10,000 different instances of this question being asked. But the solution isnt working for me. Perhaps they dont work in Reforged? BuildFarm Events Unit - A unit Finishes construction Conditions (Unit-type of (Constructed structure)) Equal to Wheat...
  27. Wing-Span

    Maybe I'm stupid, but why doesn't this work?

    The gist of it is this: a hero uses an ability and after three seconds they are given a rune. It doesn't matter which one. I've tried two methods, but they both fail about 10% of the time. 1: Simply issuing a rune after three game seconds. 2: I set the hero to a unit variable. = When I press...
  28. Wing-Span

    How to make an instant strike?

    Hello everyone! I made a dummy unit with one attack that instantly appears and attacks the target. It does not need to be rotated, as it is like a tower with a melee attack. The beauty of this unit is that you can put a lightning orb ability in it. So the attacking dummy unit still has a delay...
  29. Firexjkxfire

    [Solved] Removing Agility Attack Speed (--ISSUE:-- Animation Speed is still changed)

    ISSUE (Initial - scenario that brought about ISSUE 2, which is what I need help with--- "solved" in "half solution"): - Want agility to not change the attack speed of one SPECIFIC hero (not all of them, which would occur if i did it in constants) HALF SOLUTION: Trigger. Change the attack...
  30. the.Axolotl

    Guard Position GUI

    Created a system that sometimes works in the way intended but sometimes Any suggestions or help are very welcome, tnx! ------------------------ GuardIni Events Map initialization Time - Elapsed game time is 1.00 seconds Conditions Actions Set Guard_Counter =...
  31. the.Axolotl

    Damage System

    Created a spell - Summon Sindragosa: ----------------------------------------------------------------------- SS Cast Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Summon Sindragosa Actions Set SS_Caster =...
  32. Nost

    ai help

    Hello guys i really need help... I've created periodic waves of units on my map that fight other waves... But these units only use automatic spells and not all their abilities. How can I make them use their other abilities? Does i have to do a IA ? If yes what does it loke like? I don't now how...
  33. StangtennisGuru

    How to add an animation suffix with triggers/abilities

    So basicly I have a model that has two different sets of animations and I preferably want to be able to switch between them without using defend or a morph ability. What I'm looking at mostly is the 'Upgrade' animation suffix that is added to Mountain Giant when he wields a tree, only asfaik...
  34. Nost

    created unit suicide on enemy

    Hello always me x) How can I make that waves of created reinforcement allys unit immediately commit suicide on attacking enemy units? Thank you very much
  35. Nost

    triggers

    Hello guys ! I am creating a campaign and in one of the missions, the player needs to destroy the 6 Demon Gates to complete the mission. How do I create the quest validation triggers and the end of the game triggers? Thank you very much!!!
  36. monDes

    [Solved] Multishot (Attack speed buff)

    Hi, i'm trying to do what seem to be not an hard ability to make but i don't have the skills to do so. I'm trying to make an unit (archer in this case) do 3 normal autos or so than give it an item based ability that give her a lot of attack speed for the next 3 autos (so it look like the 3 auto...
  37. A1P4K4

    [Solved] Trigger partially not working if wait more than 4 seconds

    Hello everyone! I've stumbled upon a very strange bug in my trigger. If I set wait action to more than 4 seconds part of the script will not work. The problem is in the first "wait" action. If it is set for more than 4 seconds (5 seconds for example) this part: For each (Integer A) from 1 to...
  38. PerPlumeShake

    [Spell] Cone Shape Dummies Behavior

    Hello guys, sorry to bother again. i would like to know if you guys could make this "Cone Shape Dummies Behavior"? it'll be a great help for my character from my map. Thank you for always helping me.
  39. Tteodori Usemap

    Help!! Custom Worker, Entangled Gold Mine Error, and Batrider Animation

    When I try to place a custom worker unit in a custom entangled gold mine (right-click on the custom entangled gold mine after selecting a custom worker), an error message and sound are output. Is there a way to fix this? Of course, there is no problem with the placement itself or operation...
  40. PerPlumeShake

    [Spell] About Locust Swarm 2: Issue & Request

    From these past few months, i just saw an issue regarding to this Locust Swarm units. Some was able to follow the Triggering Unit and some just circling around to their own position and never follow the Triggering Unit until it reaches the end of duration and dies. I've lessen the number of...
  41. PerPlumeShake

    Making unit transparent without hiding FX

    How do i make the unit transparent without affecting its own special effects from it? Thanks in advance.
  42. Zielarek

    [Trigger] Chance for a periodic random event not looping

    Hi there! So, I tried to make a trigger that when every x seconds passes, it has a 33% chance that an event will happen. To acheive that, I tried using a random integer number between 1 and 3. After that, if the chance for a random event hits, it again picks a random number (this time between 1...
  43. bioxyade

    [Solved] Tree Swaying help plz

    Ok so back in the good old early days i KNOW for sure like a 100% theres a trigger to make tree's sway like naturally (in the wind) i know they used animation and animation speed. The biggest problem i got is, i can't find it back and the maps that i know have it are protected so i can't get the...
  44. Dragonnaire

    Is it possible to force wars and alliances between computers?

    Is it possible to dynamically make AI computers ally up or go to war with each other via triggers using chat messages? To some extent, I know how to make the triggering player ally up or go to war with other players and computers, but I want to know if it is possible to control who goes to war...
  45. Zielarek

    [Trigger] Order-issued units returning to their origin point.

    Hello everyone! I tried to make some little triggers which cause certain units (which are controlled by a computer player) to spawn at certain points on the map whilist adding those unit to a certain unit group. After that, they are ordered (via trigger) to attack-move to other regions. That's...
  46. domagatos

    Leak exemple, need help

    Hi, my map is starting to lag before 30m of gameplay, I do have a lot of triggers, and just want to confirm if the problem is something on these trigger, (I do have alot more similar to those).. Some of these exemples are the cause of the issue?
  47. LeCrepe

    [Trigger] Item Possession Stat Boost

    Howdy folks, so I’m trying to figure out whether or not the following is possible. I’ve given a specific category of unit an inventory which allows them to carry up to 6 items, but which does NOT allow them to use or benefit from the items directly. What I’m trying to do is find the right kind...
  48. Bloodheaven_

    [Trigger] Desync in multiplayer without obvious reason

    Hi there, if I disable the Tutorial Trigger the Game no longer desyncs at the 30s - 60s mark. Down below is every trigger related to the Tutorial Trigger. I dont see a obvious reason for a desync, can anyone help me out here?
  49. a8156175

    [JASS] I had a problem about Save&Load System,it doesn't work when the code length over 256 letters...

    Sorry,come from Asia ,bad English I have a SAVE & LOAD JASS&YDWE GUI code. I know a little bit about how it works and use it in my ORPG map. But now I have a problem that the code cannot be used if it exceeds 256 characters. I would like to ask if there are any JASS experts who can give me some...
  50. MikeyGuy

    [Trigger] [Map Broken] Looking For Missing GUI Extension/Addon

    Greetings everybody, I know this may sound like a similar thread to others where people lost their maps, but I'm going to throw this out here because it's the only way I have a chance at recovering my old maps. I actually lost access to 3 of my maps I was working on after I merely uninstalled...
Back
Top