trigger

  1. MasterWarlord

    Need help doing math to find the correct "hitbox" for my triggered spell?

    Intended spell effect/tooltip: "Sloth slams his chains onto the target point dealing 650/750/850 damage in a 150 area of effect 500 distance away from himself, stunning enemies for 1 second, and knocking the target back towards Sloth. Enemies hit by the giant slam of the chains take full damage...
  2. Radicool

    [Trigger] Tome Tax - Shop Item Replacement

    Hi all, Goal: I'm making a Tome tax system. Every few tomes the player purchases, the cost of that tome rises for that player only until a cap is reached (currently 5). I wanted to ditch having triggers do the gold requirement check and deduction after purchase and have the current price listed...
  3. DexterFstone

    blocking chat

    it is possible to block chat messages for players(for example player 1) in a short time?
  4. Tomerion

    Rescuable Unit Color Change

    I have a custom unit whose team color is purple in OE. However, if I make the unit rescuable for Player 1(Red), the unit will automatically change it's color to red whenever it's rescued. Are there any triggers or any other solution, to make the unit keep his purple color after it is rescued?
  5. Ruvven

    [Trigger] Leak Problem (Trying my best)

    Hello again masters of WC3 Editor! As i have recently become aware of so many leaks in my game (that i hope can be replayable so leaks or gonna be a massive issue later). I am trying my best to "fix" the leaks and i have run into a slight problem that i am really unsure how i should take...
  6. Thiiago

    [Trigger] Change "Text - Hotkey - Normal:" help

    With these new changes and additions for ability (and others...) editing by Trigger Editor, can anyone tell me if and HOW does it change the part, from: "Text - Hotkey - Normal:" (if need) Raw data name is: ahky (Hotkey) (...) I searched and didn't find it, I just found it for other things...
  7. Ruvven

    [Trigger] Melee/Ranged Isnt Working

    Hello Community that has helped me understand so many things in the WE! #MuchAppreciation! I am having trouble with yet another situation here as i have googled and searched through here for answers on switching from Melee -> Ranged and keeping spells and all of that is cool. The problem is...
  8. Matthew's_warcraft_book

    [GUI] unit - unit within range of cant take points?

    I need an event for when a unit comes within range of a point (variable), but the variable isn't showing up, only unit variables. How can I do this? I will be replicating this trigger dozens of times, I'd rather not use regions for every single one, is there another way? I am open to using jass...
  9. HolyWillRise

    Help! Chain Lightning Trigger Doesn't Work!

    Sometimes when "Chain Lightning" is used it does not hit the other two or one target(s) near the main target. And when there are only two targets, it hits the main target, and not the second target. So it works maybe 50% of the time. So.. How to fix it so that it hits the required targets all...
  10. Ruvven

    [Trigger] UnitMakeAbilityPermanent

    Hello again I have a map where spells are not learned normally and thus picked up by spell books along the way, also i have morphing possibilities and many of you probably know that the two of those does not go well together. I have seen alot of people mention the sentence i used as a...
  11. DexterFstone

    need trigger to find WHO IS WINNER and Ranking

    Hi, I'm working on my map and it is done now I need a trigger to find who is the winner My Map Detail 12 Player, 4 Team, each team have 3 player 10 Round game I use multiboard Kill Die Flag Human team var Kill(0) var Die(0) var Flag(0) orc team var Kill(1) var Die(1) var...
  12. Benpai

    change and increase item ability

    hi, is it possible to change the stats or add an ability of an item with a Trigger? I want, that a Hero is able to buy a base item with like +1 int and +2 str and if he buys a dummy foliant the stats of this item should be changing to +2 int and +4 str. I was trying to do it with this, but it...
  13. DexterFstone

    [Spell] bear trap ability

    Hi, I try to make bear trap ability and I'm using custom Ensnare ability for trapping unit around of bear trap but how to do that? I need trigger, pls help me
  14. DexterFstone

    remove dummy unit

    Hi why dummy units is not remove by this 2 trigger? Unit - Add a 2.00 second Generic expiration timer to Fireblast_Dummy Unit - Remove Fireblast_Dummy from the game I add model to my dummy unit and i see it is always stand at created position and never removed, Why???! or it is just graphics...
  15. DexterFstone

    Double click helper

    Hi how to make double click helper for ability for example a have Bloodlust ability and I need when press 2 time B it is cast to himself How to do that? (it's like all abilities in DotA and LoD map)
  16. WidescreeN

    [Trigger] Neutral Hostile Units gain health if unengaged

    I've done my best and I can't get it to work, I need that every 30 seconds it checks if any neutral hostile units are attacking or being attacked and if they are not, they gain an ability that recovers them to full health, and if they are, the ability is removed. This is what I have, i dont know...
  17. WidescreeN

    All Neutral Hostile Units regen health when unengaged

    Hello guys, I am in a pickle. I'm trying to make that every 30 second of the game, a trigger checks if ANY neutral hostile unit is attacking or being attacked, if they are, nothing happens, but when they are not doing anything (nor attacking or being attacked) they gain an ability which i...
  18. Xzere

    Spell Trigger issue

    Hello, why does this trigger nog function properly because of the "RemoveLocations". It triggers only once when i want it to trigger 3 times. It works perfectly if i remove the custom scripts but of course i want to clean the leaks... Avalanche Events Unit - A unit Starts the...
  19. HerlySQR

    What is more efficient way about add actions/conditions to a trigger?

    If I create a trigger I can normally do: function Actions takes nothing returns nothing //bla bla endfunction function Conditions takes nothing returns boolean return bool endfunction function Init takes nothing returns nothing set t=CreateTrigger call...
  20. DexterFstone

    pause cooldown ability

    Hi it's possible to make a ability to pause enemy abilities cooldown? for example enemy cast ability then go to cooldown for 12 second after that me cast pause ability and cooldown for enemy pause for 5 second (after 17 second ability is ready)
  21. DexterFstone

    need idea for ability

    Hi I work on my map and I try to make some hero it's like DotA, but some abilities are not good for my map and I need an idea. now I working on Bounty Hunter and spell Track isn't good for my map and I don't have any idea. pls help to make a good ability for this hero and match to my map and...
  22. HerlySQR

    [Lua] Trigger variable event is not working

    For some reason the variable event for a system I did in Jass and worked in that is not working in Lua, basically the triggers with that event doesn't run, why?
  23. DexterFstone

    trigger for item

    hi I need a trigger for an item when a player tries to pick, the hero stops and gets a massage "u can't pick this item" (not pick and check by if, then drop again) how to do that?
  24. Ruvven

    Structure Costs Items To Build?

    Hello there everybody! Thanks for checking in :) I have been working on a map inspired by survival minecraft with alot of randomness, i want to be able to "chop a tree" and get wood, this part i have down pretty well, so the interesting part here is the fact that i cant for the love of god...
  25. u wot m8_

    Triggers won't play 3D imported sounds

    i've imported a sound to my map. it's WAV, mono channel and 22KHz. i've made a trigger that is supposed to play it, but it just won't play. i tried using different imported sounds but to no avail. the sounds are working when replacing internal sounds, but is there a way to play an imported sound...
  26. HerlySQR

    Problem with bounty system

    I create this system to control almost everything about the bouties and can edit it with external triggers, and use it with another events more than when you kill a unit, is uncompleted and I wanna add more stuff. library BountyController initializer Init globals private hashtable...
  27. N00b-Morti

    Swapping weapons - Transformation abilty may be the solution?

    Yesterday I tried to something that I thought i could make in seconds. But i was wrong: make a unit swapping weapons, from sword... to bow and arrow. First thing first i created two versions of the same unit, with two different attachments and way they fight. But then, when i tried to add the...
  28. ComeWithMe

    JASS code. Need some help with script.

    Hi there, Is there anyone who is good at JASS code? I need help with that, I would like to cut some working JASS code from one map, but still have no success. This is not about memory hack, just about basic knowledges of JASS. Please ping me in pm. Thanks.
  29. TheFireMage

    [Trigger] Unit Group Problem maybe?

    Hello everyone, Thank you for reading this thread and helping me with my problems for the past few months and today. I made 2 triggers, one for adding units taking damage to the group when the damage source carries Deathblade. The second trigger adds damage to the item carrier when the units...
  30. Xzere

    Item triggering

    Hello, is there a way to make this item update itself if i, in example purchase an intelligence tome + 50? Deathcap Acquires Events Unit - A unit Acquires an item Conditions ((Item carried by (Triggering unit) of type Deathcap) is owned) Equal to True Actions...
  31. DexterFstone

    Ability upgrade

    Hi I have 2 ability (ability1, ability1 upgrade) and one ability for change ability1 to ability1 upgrade (passive ability), now my question is how to change ability1 to ability1 upgrade with my passive ability? (I'm using attribute bonus for change ability1 to ability1 upgrade) I use Unit - Add...
  32. Ruvven

    [Trigger] Random Spawning Destructibles

    Hello there, this is my first post in here and im hoping for the best! So what im trying to do is have a trigger which on map initialization spawns a bunch of trees in a random position in the Test Region area and then these two triggers are supposed to pick the trees and make it so when one...
  33. Kronomage

    [Solved] Does this Special Effect leak?

    Hi. I hope this question belongs here. Well, I essentially just wanted to know if the FX on the following trigger leaks or not. Hammer of The Lightbringer Events Game - DamageModifierEvent becomes Less than or equal to 1.00 Conditions (Level of Hammer of The...
  34. Cheshire

    [Spell] check if path is blocked

    hey, is there any way to detect if a unit can walk to point x - as in there is no tree, cliff, unit etc' blocking the way? I looked through a bunch of old threads about it and no-one had a good solution, but maybe with the new natives? I am doing this for an AI system and trying to avoid...
  35. Nemesis DSGB

    [General] Rusty looking for help with AI Spawning

    Hi guys. im looking to make a defense mode that can go for long periods without crashes (little leaking) So im just starting to set up my variables, im using Ints and bools to keep it simple for now Recommendations on best framework for the system to be clean and smooth? plan so far: -Wave...
  36. Cheshire

    [Spell] How to calculate angle?

    hey, this is probably a simple equation, but I have not touched geometry or trig for years, and haven't been able to find an explanation in terms I am familiar with enough to use in warcraft... basically I need to solve for D: I want to be able to find the angle that is the middle of the...
  37. Cheshire

    [JASS] jass trigger not working

    hey, this is my first trigger in jass. it doesn't have any traceback malfunctions, but for some reason it just does absolutely nothing in game. what did I do wrong here? function taken_conditions takes nothing returns boolean if (GetManipulatedItem() == udg_Bait ) then call...
  38. impulse

    [Solved] different regions need help!

    Hey, im really new to WE but me and a friend is doing a custom TD and there is alot off errors along the way, but this one i can figure out. So we have for now 2 spawning areas top and left, map is a cube shape. Left spawn code spawn1 left Events Time - Elapsed game time is...
  39. Kick King

    [Crash] Issue with game crashing about 15 minutes into map

    Hey, So, I've been dealing with this issue of and on with my map I'm working on. (AOS) Basically almost every game, about 15 minutes in, the game freezes and then crashes. I've checking my handle count and it never goes above 9000. (lots of units on the map), and I've simulated a Memory leak...
  40. Cheshire

    [Solved] loop not looping... ?

    hi, I have this trigger that is part of an ability that is supposed to send random units in the unit group to random places on the map. it works, but it's not working multiple times like it's supposed to, only once. I can't figure out why. I'm talking about the loop starting - "for each...
  41. DexterFstone

    fade filter

    Hi, how to use a fade filter for just trigger player?
  42. HolyWillRise

    EXP share system?

    Hello, i am making a zombie def map with 4 players. I set the experience gain to 1, so 1 kill = 1 exp, but what i want is to all of the 4 players to gain 1 exp for each kill (doesnt matter who gets the kill) EXP range (not global if possible) example - 1500
  43. DoomBlade

    [Solved] Damage Engine script error in latest reforged version on all maps

    Hello, Damage Engine Damage Engine 5.7.1.2 by Bribe, stopped working on all maps for me. 1) I opened the damage engine demo map and tried to save it, it says script error. 2) I have the exact same damage engine on two of my projects, tried to save them, same script error. It worked as of...
  44. GnomenxD

    [Solved] Can't set values for Cluster Rockets through triggers ??

    Hello, I have run into my first very strange and frustrating issue. I've created a lot of custom spells and are controlling most of them through, and changing their values with triggers. But apparently I can't do that for my custom ability of 'Cluster Rockets' and it's bugging me out big time...
  45. DexterFstone

    Text

    when I play LOD Map I see a big text on the bottom of the Time of Day how to make it?
  46. DoomBlade

    [General] Adding abilities to items and changing name and tooltip

    If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions DropRateInteger Greater than or equal to 6 Then - Actions Set VariableSet ItemDrop_Loc = (Position of (Triggering unit)) Item - Create Wolf Pelt at ItemDrop_Loc Set...
  47. DexterFstone

    how to make duel system

    Hi, a have 4 teams and every team has 3 parameters, Kill, Die, and Flag. Priority with flag then Kill then ِDie less I need a duel system, how to make a duel system?
  48. RinaDeithee

    [Trigger] Help Detecting when fighting is over

    I am making an AI for a hero. Im using knowledge i've learned from this tutorial. The AI has two parts. Attack and defend. The AI will decide wether or not to attack depending on wether or not it is defending. The hero will defend when ever a unit of the same team is getting attacked. I am...
  49. Mangouste

    [Solved] Fixing memory leaks prevents trigger from working...

    Hello everyone! I made a spell via trigger that works perfectly fine (but leaks), and when I add the custom script to remove location memory leaks it stops working, like it can't find location anymore. Crushing Wave Events Unit - A unit Starts the effect of an ability...
  50. DexterFstone

    trigger – works only for 1 player, why?

    this trigger work for player 1 only, way? and how to fixed? Revive Start Events Unit - A unit Dies Conditions ((Unit-type of (Dying unit)) is A Hero) Equal to True Actions Player Group - Pick every player in (All players) and do (Actions) Loop -...
Top