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

    Vision Tower triggers?

    I want to make a vision tower for my map that functions basically just like the xel naga vision tower from SC2. I have a flying fairie dragon right now that enters channel animation and gives 2200/2200 vision range. I got it to work when a unit owned by a player enters and it transfers...
  2. Recklessness

    Make Spacebar center on Hero

    Good morning, I have been looking around for a trigger or maybe someone knows a simpler way of making it so when u press spacebar the camera centers on your hero 1 similarly to what F1 does. Is that possible? I am in the middle of finishing a MOBA and that is one of the last things I want for it.
  3. Bloodheaven_

    [Solved] Possible to zoom into Minimap via Trigger?

    Hey there, there is an function called: Camera - Set camera bounds for Player to Region is there a way to actually zoom into the minimap or out via trigger? Let's say the whole Minimap is Area1+2+3+4. Now I want to only have the Area 2 to be seen from the whole Minimap. Yes of course with...
  4. Bain_Rebirth

    Attribute Scaling Non-Damage skills

    Hello, I have a question regarding using Attributes to scale abilities. I'm fairly new to coding as a whole and coding in GUI in the trigger editor also poses a little problem as it gets tedious going through every window trying to find which event/condition/action I want. So I was hoping if...
  5. tough_zai

    how can i make my normal unit gain XP?

    We all know that Hero unit can be changed models and be like any other kind of unit,, so what i am aiming now is to make my normal units gain xp and level up, without using heroes as base.. coz heroes icons can be seen on the left side of the screen and will flood my screen if you have 10 or...
  6. Bangsgaard

    [Solved] Place item in region

    How do i make a trigger detect when an item-type is placed in a specific region?
  7. Bodi91

    Need help with trigger

    Hi Guys! I'm just about to build my first map and i don't have much knowlegde about triggers.. I created custom units and custom buildings in object editor. Custom unit level 1 is to buy in custom building Lv.1 Custom unit level 2 is to buy in custom bulding Lv.2 and so on..until Lv.50 What i...
  8. NoobPromedio

    Check if unit has alredy been afected

    I have a unit "caster" that creates a proyectile "shockwavedummy", every 0.03 seconds it picks all the units in a 200 radius of the proyectile and deals 100 magic damage to them. What i want is to check if a unit has alredy been dealt damage to, and if so, to not damage them again. i've come up...
  9. Jacobjohn1

    Need Some Jass Help--Expected "Returns"

    So I'm trying to create an area of effect polymorph that is MUI. So I put together this script. But I'm having issues. MassSheepify Copy Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Mass Sheepify Actions Custom...
  10. Koko Kwikwak

    [AI] HEEEEEEEEEEEEEEEEEEEEEEEEELP MEEEEEEEEEEEEEEEEE!!!!

    can someone help me to do a trigger that makes an ai to choose my custom hero in altars from melee game???? please help me, I'm a sore loser...
  11. LucasArthur

    Need help with a trigger

    Hello people, My idea is to have units created periodically, and then when they are finished they are given to the computer to move, such as the Legion TD or Civilization map, the problem is that I dont know how to do this, I already have the units created periodically, but I don't know how to...
  12. Invisible Pink Unicorn

    [Solved] Issuing an order with no target in jass

    Hello I am currently making a campaign and want to make a unit that has an un-auto-castable Parasite. I wanted to make it impossible to auto-cast the spell with this simple trigger. Events Unit - A unit Is issued an order with no target Conditions (Issued order) Equal...
  13. Ashenguard

    Disable Preview Of Triggers For Map

    I think the title is telling what I want. So how can I do it?
  14. polo2005

    [Trigger] Is there a way to make slide/charge skills follow "pathing"? or a way to disable manual moving units

    Hello, I'm trying to do a map where unit movement is handled by the "ai" but you can still cast abilities. my first idea was to set movement speed to 1 so they are able to turn and use a charge spell(based on channel and hidden so only triggers could proc it) to move my units move around...
  15. HolyWillRise

    How to make item that can store up to 10 stacks at 1 slot and then trigger it to become another item

    I want to create an item (for example coal) so everytime i pick/get coal, to be stacked in 1 inventory slot only. For example i have 2 coal, picking 2 more from the ground = 4 (in 1 slot only, not 4 different slots) Trigger - I want to trigger the coal, so when i have 10 stacks of coal, it...
  16. HolyWillRise

    My Dummy's Storm bolt ability doesn't work

    How can i add stun effect, slow effect, damage reduction effect, armor reduction, dps and etc to a spell without any of those effects? For example: Storm bolt with slow and burning effect Or reducting the armor of the target? (P.S the example spell doesnt matter) I need to know how to add all...
  17. Koko Kwikwak

    [General] Does someone here available to make me a trigger????? PLEASE HELP MEEEEEEEEEEEEEEEEEEEEEEEEE!!!!

    if you are available, please do me a favor, would you make me a trigger; in a melee map, a trigger that makes my allied team into an enemy team. PLEASE HELP MEEEEEEEEEEEEEEEEE i'm an ignorant peasant!!!
  18. Anton Wulff Jensen

    Cast a spell (fx Flame Strike) on unit or in region?

    Hi there! Quite new here, but I've been working on a map for a while, and currently trying to make a spell for a custom boss fight. Basically I want to trigger a Flame Strike underneath the boss unit every 3 seconds. So what I wanna know is, how do I create a trigger, that conjures a flame...
  19. HolyWillRise

    How to make unit lose health when attack or every x seconds? + droping item upon death

    1. I want to make mechanical unit/building that lose health each second or lose health with every attack, both gonna be usefull (Btw the mechanical unit gonna be a structure with duration and gonna be summoned, not builded [because i don't know how to build it and cost mana instead of resources...
  20. Peach Schnapps

    [General] Help with more specific Terrain manipulation through JASS/Triggers

    Would it be possible to be more specific in how I want to manipulate terrain than with just regions? I'm really just concerned with changing out tiles, I imagine through JASS this is possible? o_O EDIT: Idk if I'm asking my question specifically enough, say for instance I want the grass...
  21. Dawnsy

    Help with Extinguishing Flames

    Hello there, first-time poster here, but a long-time follower. I am currently working on an RPG style game where there is a quest where a town gets raided and you have to protect it for X minutes. I was adding in a side quest where you can help extinguish flames that were started in the...
  22. ZeroGravity

    Need help with bonus xp trigger

    Hi, I wanna create a trigger that if a unit equips this item, he/she will gain bonus xp but mine seem to leak and cause lag so I need help here. There are 3 levels of this equipment so I separate its trigger to 3 but I think there might be a better way to do this? Any suggestion? Boots of...
  23. ZeroGravity

    My map is lagging hard and I need help

    I feel like my map is lagging too much even when there's so little enemies. I think it may be cause of damage detection system but I'm not sure. I already did what Bribe (damage detection system creator) asked me to do but it seemed to not working out at all. I think it comes from other...
  24. DestinNotDustin

    [Trigger] Capture the Flag - Making the flag a unit that can be placed in Heroe's inventory

    There are two teams with three players on each, six players total. The players on each team control a single Hero. I've set up a Trigger called 'Red Team steals Blue Flag' where the Red Team picks up the Blue Team's flag and places it in their inventory. I've read on other topics that making...
  25. Mathayis

    Is 1.31.1 editor safe to work with?

    Okay so...I was thinking of starting a new map project, but after the 1.31.1 editor broke my last map, causing unit events and triggers not to be recognized after loading a saved file, Also stopping sounds from working and messing with the doodads, I'm wondering if I should stick to 1.29? It's...
  26. ZeroZaraki

    Need help with tigger

    i was wondering if it is posible to replace a unit with another completely after a specific upgrade Basicly you research the upgrade which then removes the unit from the building and replaces it with the new unit. I've searched around but havent been able to find a way to do it. Thanks beforehand
  27. Mathayis

    [General] Can you edit a units attack range in editor?

    Howdy there! just a quick question.... I'm not very smart when it comes to complex triggers, but I noticed in the latest patch "1.31" they added a bunch of new triggers and functions in the editor.... I was just wondering, is there a way now, through triggers where you can add and subtract a...
  28. Ricola3D

    Is it possible to execute code just before game end ?

    Hello, I am currently executing a trigger on the 'Player X leaves' events in order to execute it at the end of the game & not too often (because the trigger writes in a local file up to ~5000 lines of text). However I noticed that it doesn't not execute in the following cases: - Last player...
  29. Ricola3D

    Debugging: how-to log all trigger executions?

    Hello, I am trying to debug a desync issue. For this I am already doing hooks on functions known for causing desync that write logs in a local file. However, I'd like to also log trigger executions. This way I may be able to know what last triggers execute before desync. Do you know how I can...
  30. Jason56_34

    [General] Vision For Players Dialog

    Is there a way where you can choose whether you cannot see youre teammates or you can see them? In Dialog style. And what is the trigger for when you lose a vision to a teammate.? sorry for my bad English ;w; +REP
  31. Ricola3D

    JASS - Is there a way to display the call stack ?

    Hello, Is there a way to display the call stack from JASS ? To know what functions/triggers are at the origin of the code execution ? It would be very usefull for desync debugging, if I could print the call stack in my hook functions :)
  32. HolyWillRise

    How can i make more pages in 1 shop? +How to make a spell book for more slots for spells.

    There are maps where the shops has like 3-4 pages. How can i do that? Bonus question. Whats the easiests way to create spell book for heroes/units? I want to put like 4-5 skills which gives like +1 str +1 armor +1 agi and etc. But there are not enough slots/space for that much spells. I think...
  33. HolyWillRise

    How can i trigger thunderclap/warstomp to deal x attribute damage?

    I need to do: Warstomp damage = x5 of STR, i tried to do it, but it damages myself and my allies too. And question number 2 How can i make a trigger for unit, that will not be able to use a specific spell if under 20% health.
  34. HolyWillRise

    Help to make Low health - more damage/armor trigger

    I really need to find a way to do that trigger. For example: A unit life drops below 50% then he gain bonus armor/attack damage or damage reduction.
  35. HolyWillRise

    Help! I have an issue with 1 trigger that teleports me everytime i buy an item.

    The problem is that when i buy any item it teleport me again (until i upgrade the item, but that still teleports me) (The problem is with the first trigger)
  36. HolyWillRise

    Help! I want to make trigger that changes my abillity with another.

    I've made a trigger that change my abillity from level 1 to level 2 but the problem is that i want to make the level 2 abillity icon to look different. But how? Is there a way to replace 1 abillity with another with trigger?
  37. Marcus 小羊

    Random spells?

    Hello guys, I'm still a totally noob when it comes to trigger editor. May i ask if it's possible to gives hero random abilities every time they die? Q, W, E, R 4 keys for 4 different abilities that will randomly be given to newly respawn heroes. Well in my mind i got an idea about saving each...
  38. HolyWillRise

    How to teleport a unit after it pick up an item?

    I need a trigger which teleport a unit to another place after it pick up an specific item.
  39. Ricola3D

    [Solved] Real-time timestamp for triggers ?

    Hello, I have some triggers where I'd like to have the current time elasped since the game start. I prefer real-time, not game-time (that can goes faster). Is there a simple way to get this time ? Otherwise, is there simpler than the system below ? (I arbitrary chose 0.10s as step, but it...
  40. Shunpomaster

    [Trigger] Detect When Losing an Item and have no more in inventory

    When I make an event of unit loses an item, and make If,then,else to check if unit has another one of the same item, even if he doesn't the game still see it as if he have one here is an example Hero doesn't die even if I dont have another item in my inventory Untitled Trigger 001 Events...
  41. deepstrasz

    StarCraft Systems (GUI) - need MUI help!

    Hey, I'm trying to convert my (solo) working triggered "spell" to work on multiple units at once using this: Visualize: Dynamic Indexing What am I doing wrong? I assume it might be probably related to the last triggers where I am supposed to switch variables. I'm using 4 loops each with its own...
  42. BradPittlord

    Instant Tower Block Detection with out lag?

    I've seen this asked before and it seems not possible to detect a block through triggers in a large mazing area without a lag spike. But it has been asked soo long ago, I don't know if anyone had any breakthroughs? I mean Warcraft 3 itself has to run A* code everytime a movement order is issued...
  43. Yours Truly

    [Solved] Ability projectile won't pass through corpses.

    Hey all. I'm using kawas11's Breath of Fire spell and it seems to be working fine. However, despite being told to only damage Alive units, the spell seems to try and damage dead units as the projectiles won't go pass their corpses. Here's the boolean that specifies it to only damage alive...
  44. Majkowski

    Amount of wood condition

    I'm trying to create a quest where you have to get a certain amount of wood and then "bring" it to someone, so I want the quest to be completed once you enter a region and have the certain amount of wood, but I can't figure out how to create a condition that checks the amount of wood you have...
  45. InSaNe_97

    [General] FPS camera

    Greetings. I am still struggling to make an FPS camera for My puzzle map, I want to make it controlled by mouse, is it possible after the new patches? If yes, how? In advice thank you.
  46. Ricola3D

    Local globals > not working

    Hello, I have a map I am editing with editor 1.31.1. It has many GUI triggers, and I am trying to use the local globals trick (having a local with the name of a global so you can use GUI functions). However the trigger below displays "TODO Security1" then "55". What do I do wrong ? How do you...
  47. Ricola3D

    Known causes of desync

    Introduction Players should be able to differentiate a crash, a player leaving and a player being desynchronized. Desync is the fact that one or more player gets disconnected from a online multiplayer game. It's caused by differences in the game state between the game clients. Below I tried...
  48. Ricola3D

    Triggers : test if item is "Use automatically when acquired"

    Hello, From a trigger, is there a way to test if an item is used automatically when acquired or not ? It is because I am using Dangerb0y's Easy Item Stack 'n Split system, and when trying to pick a power-up or an item that use automatically when acquired, it plays the error sound.. PS: I can...
  49. El Saif

    Trigger how to check if unit has any ability

    Usually, to see if a unit has a spesific ability or not, we're using trigger like 'Level of Thunder Clap greater than or equal to 0'. Here, i wonder how to check does a unit have ANY ability or not. I believe it has something to do with ability id. In my mind, we'll do something like check the...
  50. BradPittlord

    Trigger Remove Event

    There is the trigger action "add new event" but is there a way to remove a event from a trigger or just a way to remove all events from a trigger?
Top