• 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. 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...
  2. 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...
  3. 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...
  4. 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
  5. 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 :)
  6. 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...
  7. 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.
  8. 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.
  9. 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)
  10. 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?
  11. 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...
  12. 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.
  13. 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...
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. Алексић Владица.

    [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.
  20. 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...
  21. 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...
  22. 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...
  23. 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...
  24. 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?
  25. Ricola3D

    Universal+stacking lifesteal issues (particularly with illusions)

    Hello, In my map I am trying to make a triggered life steal that works for every units attack type (melee, ranged) and compatible with orb effects. I also want that it stacks. To do so, I made the trigger that periodically check units every 0.25s for...
  26. Gilded

    Scavenging Corpses

    I want to learn how to Allow the Unit to Scavenge a corpse with a knife. For Example my Hero just murdered a bear and needs to extract the meat from the corpse and not just the fur that is done on my map. But I want skinning a bear to be special or some other animals. Something Founders of The...
  27. Yui Moe

    [Marketplace] When Adding the 12th Unit to All Marketplaces via Trigger

    Hello everyone, Today I encountered a weird bug with latest version of World Editor (1.31): 1. Using trigger to add unit type to all marketplaces (Neutral Buddings category) 2. When adding the first 11 unit types, everything works perfectly 3. When adding the 12th unit type (the last unit type...
  28. Cryze666

    adding abilities to items by trigger

    with the latest patches we got a lot of new functions to use, one of them is "Item - For Item: X, Add Ability: Y" yet when try this the item stays empty - i'm only adding item abilities, the item has no abilities on default, yet when i add the +1 strength item ability and pick up the item i get...
  29. Yui Moe

    [GUI] Set Unit Integer Field

    Hello, in Trigger Editor (GUI), under Unit category, there is an action called Set Unit Integer Field, and there is something makes me confused: Agility Agility (Permanent when modified) Agility (with Bonus) If my guess is correct, (2) means white text part, and (3) means green text part...
  30. Yui Moe

    [Rich Dialog] How to present rich content in a dialog?

    Hello everyone, I am new to dialog part in GUI trigger :) As far as I know, we can only make either title or button for dialog. However, what if I want to have rich content like: <h1>main header</h1> <h3>subtitle 1</h3> <p>paragraph 1</p> <button>button 1</button> <h3>subtitle 2</h3>...
  31. Nanaki772

    Unit spawn trigger

    Hello, so I'm making a 1v1 TD kind of map and I'm trying to make it so units upgrade when a player researches an upgrade! So basically I have a trigger which spawns 2 Grunts and 2 Headhunters, and there is an upgrade that upgrades the amount of Headhunters spawned to 4. Now here comes the...
  32. Shooterman56

    Triggering abilities via items

    I have a hero ability that has an added effect of turning the team of the targeted unit via triggers. How do I go about modifying the triggers so that it works as an item ability? Working hero ability (no event): Conditions (Ability being cast) Equal to Madness |c0096FF96 [W]|r If (All...
  33. Venkolm

    [Solved] Avatar

    So, i want to make Avatar to be usable ONLY if/when the unit (Mountain King) has LESS than 50% life. When he has life greater than 50%, he cannot use it (for balancing purposes in my map). So, how do i do that? How do i have the ability unusable, when the unit has more than 50% life and usable...
  34. Peach Schnapps

    [General] Make NPC units attempt to position behind enemy units and Attack from behind to fire damage trigger

    Say we have a trigger set up that attacks from behind (a units attack/attack animation literally strikes/touchs the back of another units model) does bonus damage, would there a way to go about having units attempt to position well (attempt to move behind the units it is attacking) to get the...
  35. Ricola3D

    [Solved] A way to know what Warcraft III version executes the map ?

    Edit: solution in the following post Detect Game Version (GetPatchLevel) Hello, I just discovered that my map works fine with Warcraft III 1.30.4, but not with Warcraft III 1.31. The problem is on function "Unit - set base damage", aka BlzSetUnitBaseDamage in JASS. I use it to increase the...
  36. Setokaiva

    (1.31) Custom script: "Any unit takes damage" event

    The recent patch to 1.31 had, in the notes, a reference to new capability for custom scripts to detect when any unit is damaged for a trigger event. Does anyone know how exactly I would write such an event in custom script?
  37. Voljin

    Max Map limit for Campaigns

    Hello all, Apologies if this is not right place to post this, was not sure. I have been building an epic sized campaign with over 100 maps so far in an attempt to build a huge RPG style campaign. Unfortunately, what I long feared when I started this venture about a year ago, I capped the...
  38. Uncle

    [Solved] Turn off trigger, do something, turn on trigger. Is this a safe method to avoid infinite loops?

    So, my trigger is working fine. I'm just curious if turning off a trigger, then doing something that would run the trigger's Events, then turning the trigger back on is a safe method to avoid a crash/infinite loop. Destructible Death Events Conditions Actions If...
  39. Uncle

    [Solved] Issues with Run trigger/For Each Integer. Actions are executing out of order.

    Alright, so I didn't know how to word this one, but basically the issue is with this trigger: Generate Walls Events Time - GenerateTimer expires Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions...
  40. HolyWillRise

    How to make a unit spawn from meteor every x mins of the game?

    I want every 10 min of the game a meteor to land on you and spawn a unit. Same as in Sunken City.
  41. BradPittlord

    [Solved] Image Photoshop Transparent Background

    Nother question, is it possible to show a Image in game with a transparent Photoshop background without it just showing up as a white background?
  42. slovak27

    [General] Item removal, if the item is nt collected

    Hello guys , I am working on map where i have over 200 item drops. Now i need to make something to solve items that are not collected. How to do trigger to items? If the unit dies it creates item If a player do not collects the item till 60 seconds it would remove. CONDITION : only items from...
  43. Vraeth

    [Trigger] Making a Boss that revives heros.

    Hello everyone! I'm a newcomer here :D I'm making myself an enchanced Warchasers map. You know the old school 4 man map where you basically fight through a city of monsters. The map made by blizzard, and originally have 3 bosses. I made a bunch, with custom models etc etc. I came up with an...
  44. Hypnotic)

    Spell Shop/Chooseable spells (i need help)

    I want a detailed help about making a Shop with buyable custom or basic spells. I have already read the thread about that but i'm still struggeling with. For me it's hard to find the right choices in triggers tab, basicly its really hard to make my own trigger look like the trigger post in...
  45. Sleepless

    Check a player's camera position

    I need a trigger/event that checks a player's camera position. I want to change the camera distance (ik how to do this part) when the player hovers over the camera to a specific area of the map. Any Ideas?
  46. Cushq

    Arena Duel Trigger

    I'm trying to set up a dueling trigger for my arena map where at say 15-30 minutes intervals there will be a duel with all the current heroes on each team that are on map get sent to a region and after there is one team left will then move the units back to their respective spawn zones. Doesn't...
  47. Cizqué

    Random (Number) (GUI)

    Hello, I have made a working random hero trigger, my issue with it though is that i want to disable hero picks with it aswell. Let’s say i random a Paladin Hero , if a paladin hero is created i want to somehow make the random unable to choose a paladin again (for the rest of the game). Is...
  48. MrSocky

    [Spell] Making Forked Lightning a healing spell

    Greetings Some time ago, I began working on my first big project and usually I find the necessary tutorials or work around the encountered issues myself, yet I feel lost regarding this one. Some tutorials displayed options which seemed to be impossible since the editor doesn't offer the desired...
  49. Peach Schnapps

    [Trigger] Need help with Damage Engine Armor Trigger

    Hellllo, I'm just trying to set up a trigger with Bribe's Damage Engine that will act a lot like hardened skin: I just want the dmg to be reduced by 1, for each point of armor. This is what I have so far: Events Game - DamageEvent becomes Equal to 1.00 Conditions...
  50. Алексић Владица.

    [General] JASS, I need help for simple AI.

    Greetings. I am learning JASS so I need a bit of help. I am asking public to make Me a simple AI in JASS. That way I will be able to much easier understand things and finish My map. AI: 1. B and A in 180 r. while B is running "2" |then| Order B to attack A for 2s *. 2. B and C in 140 r. |then|...
Back
Top