trigger

  1. Voxelvoid

    How to "Remove Reviving"

    How do I remove reviving? In many custom maps that I have played you can often choose a hero/character from a set of characters. If your character dies you cannot revive it. Originally I thought that this would stop people from training new heroes and reviving them. But as it says, it only...
  2. olvenmage

    Code compile errors.

    Hey there everyone, I've been away for 2.5 years or so, and finally found my map back that I had started then. I made a custom race, using a custom build animation, which, at some point in time worked, I remember. But when I loaded up the map and tried it out, I got tons of "Unknown compile...
  3. Voxelvoid

    When a unit dies, its current mana is converted to gold

    If I have a Sheep, its max mana is 100 and it has 1 mana/sec regen. When its current mana reaches, for example, 60. The player then kills the Sheep and the player gains 60 gold. How do I make a trigger for that? Please explain with a STEP-BY-STEP guide. EDIT: Garfield1337 posted a very logical...
  4. Oranki

    [Trigger] Stuttering Map Lag Problem

    Hello there. In map project I am participating, Crusade Over Europe, has stuttering map lag which seems to happen after game has run for around 45 minutes or more. The lag seems to get worse the more there are units and the lag ususally causes players to time out or even crash eventually. There...
  5. Mistablockout

    "Boss Fight" Trigger

    To set the groundwork here, you're supposed to go into this encampment and slay all of the enemy minions before the boss (formerly a neutral hero with invulnerability) becomes hostile to players. So, in steps: 1 - Kill all enemy minions 2 - Boss speaks 3 - Boss starts attacking 4 - Boss drops...
  6. Panda

    [Trigger] Trigger Help For My Map

    Hey, I need help with triggering on a couple maps of mine, i finished the terrain and a little bit of the models and doodads. I just need someone who is really good at triggers too give me some help since i know so little about them. Some triggers shouldn't be that hard too do, most of my...
  7. Cryophoenix

    [Spell] Creating a Passive with Cooldown

    Trying to create passive abilities (for units and items) which have a cooldown. Example: Deals x damage when attacked, with a cooldown of x seconds. Regains x HP when attacking, with a cooldown of x seconds. Attacks twice every x seconds. ETC. The only idea I had was to create a trigger which...
  8. Baneful

    Help with trigger.

    the trigger i have is (Event When player owned unit is attacked/ condition: Attacking unit is equal to Units of type/ Action: set base damage of attacked unit to attacked unit +2) and i have one for each tower type so its creating MASSIVE lag. How can i keep the triggers but have a less laggy event?
  9. matin45

    Leaderboard

    Hi again. I want to make a leaderboard like this picture: How I can make it?
  10. matin45

    Mode Selection System

    Hi Guys. How I can deploy a mode selection system for my map?
  11. Thiiago

    [Trigger Spell] Just an circular knockback

    I need help to make an spell.. Name is: Roar of Wild "Push all enemies around the caster to back" Red points - The Caster Green points - The Enemies Knockbackeds Light Blue arrows - The direction of enemies is knockbacked Blue circle - Max area os Knockback in circular around caster The AoE...
  12. Prot

    Looking for a way to start a map with upgrade researched

    Hi. In Chapter Seven of Orc Campaign (Oracle) units Witch Doctor and Shaman start with Master tier upgrades. I am trying to create something similar but can't find a right trigger / action to achieve that. Could use some help. Thanks in advance. EDIT: Never mind. I managed to find what I was...
  13. Mandriel

    [Trigger] Trigger: Play sound when casting a spell

    I want the sound "shimmeringPortalBirth" to be played when a hero (Archimonde in this case) uses a certain ability (Dark Portal/ reskinned Pocket Factory in this case). I am using this trigger but the sound doesn't play anyway. The sound file is exported. Any ideas?
  14. FutureWolf4

    [Trigger] Custom Summoning Spell - Summoned Units Don't Last Forever [Solved]

    Hello, I have a problem regarding a custom spell I made for a hero (Gnoll Chieftain) called "Gnoll Patrol". The spell in question summons different Gnoll-Type units that last forever to fight alongside the Gnoll Chieftain. In order to make the spell summon different units, I made the main...
  15. JackAcorda

    [Spell] Battle Roar based on stats

    Can somebody please help me how to increase damage and armor based on a hero's stats whenever Battle Roar is casted? War Cry Cast Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to War Cry Actions Set Unit_WC_Caster...
  16. KmLocco1666

    [Trigger] Tree/Selectable in Game Function Via Trigger

    I'm working on a item based skill that allows the player to gather wood, but i want to be able to hide the the Art - SelectAble In Game Feature when the player isn't holding the Item(Axe) And I was wondering if you need to make it a custom script or vJass for this, or even a means to change...
  17. Nemesis_

    Training Guard units

    I need help where in the event a unit dies, a unit prod structure will train another unit to replace it(moving to it's region and facing north) I would like it such that this newly trained unit, when killed, also will trigger another unit to be trained to take it's place so on and on.
  18. Shooterman56

    Fixing mining trigger

    Hello, I am working on a map that involves mining. The mining system has been integrated into a damage detected system that is also used for other professions. It is written so that when a unit holds the pickaxe item, and attacks a ore rock, they will create resources. I have gotten the system...
  19. Shooterman56

    Rename command

    I am trying to give players the command to rename themselves. I've hit a bit of a road block can't figure out what's missing here. Events Player - Player 1 (Red) types a chat message containing -rename as A substring Player - Player 2 (Blue) types a chat message containing -rename as A...
  20. Shooterman56

    Mountain Giant Animation Trigger

    Hi all, I am using the mountain giant model for a map I am working on, this unit has an animation called 'eattree' where it grabs a tree from the ground. The tree that the unit is pulling up is not textured however. Here is the trigger I am using. Events: Time - Every 2.00 seconds of game time...
  21. Recklessness

    No idea how to do this trigger

    So I want to know if it is possible to make a GUI trigger that will modify a heroes attributes constantly based off of his other attributes. For example one of my heroes has a passive that increases his Agility by 20% of whatever his Strength is. Problem is I cant figure out a way to make that...
  22. ZeroGravity

    [Trigger] My trigger disabled custom models and caused weird stuffs?

    So I restart my pc, and open the world editor, it turns out that all of custom models are disabled and unusable for some reasons. Not only that but my custom loading screen is unusable as well. Additionally, sometimes I couldn't save my map so I have to try to save it twice or more to make it...
  23. Invisible Pink Unicorn

    [Solved] Problem with loading game Cache

    Hello Everyone. For the past few days i've been trying to make a prototype of the map transition system i will be using in my next project. I am using one map as the selection Level for all the other maps. Most of the system works I can go back and forth between the main map and the secondary...
  24. ShaDowPoWeR

    multiple Generic unit events. optimization?

    so, I have a lot of generic unit events for manipulating items, spells, deaths and attacks. using JASS (converted from GUI) * Some of these triggers have conditions, some have if then else and some have both. * Some of these triggers have complex conditions. What's the most efficient way of...
  25. TheSilverhand

    Creep Wars Content help?

    I have been working on this project solo for over a year now, and I am at need of someone who could help me with my project. I have a map called Creep wars: CreepWarsTSHv39 The goal of the game is to Destroy the enemy castle, where you can also conquer control points to earn extra Gold &...
  26. deepstrasz

    Locust, moving & enter regions, unit groups

    What am I doing wrong? Please help. I'm going nuts. The ArcaneBlast unit is flying and has the Locust ability. There's a region moving with (periodic event). The problem is, that when ArcaneBlast gets near enemy units, it very rarely triggers the last part of the triggers (where an enemy enters...
  27. Invisible Pink Unicorn

    Map paths within a campaign

    I'm trying to do a campaign with a single map as a (level selection menu/world map) and all the other maps in the campaign as levels. I know i need to use the "Game - Save Game And Change Level" Action but there is one thing i dont know. This Action requires you to give the path to the map you...
  28. Invisible Pink Unicorn

    [Solved] Changig maps in the middle of the game

    I am currently working on a single player project. It's meant to be a series of dungeons with bosses/puzzles (essentially trying to mimick the WoW dungeon/raid experience except a single player controlls all the dungeon participants) I want to make a single map which would work sort of like a...
  29. Nemesis_

    Ordering multiple units to train units to attack

    I've am making a survival type of map where I would want unit production structures to train units which would then seek out enemies to attack. If possible, I would want the production structures to randomly create different units as well. I have no idea where to start to make the trigger work.
  30. ZeroGravity

    [Trigger] My units cannot move and map crashes during the game

    I have been updating my map quite a few versions already, but this happened out of nowhere. At first it was all working nicely until I hosted online on ent. Everyone desynced and crashes. When that happened, I decided to play the map on single player, but it seemed all units cannot move, and...
  31. Venkolm

    [Solved] Not sure how to

    Alright, after months of absence (working on my project i mean), i created and made some stuff, but now i am just not sure how to make the following: I made an aura - the opposite of Unholy aura, it decreases hit points of enemy units (tho. i decided to not slow them down as well) and if an unit...
  32. 94tschmidt

    Issue train order from any Altar of Kings

    Hi, I am currently working on my very first AI, it is going to be very basic, and right now I am trying to make a trigger that orders a specific hero to be trained from an Altar. However at the ''Issue Train/Upgrade Order'' action, I cannot pick a unit-type, but only a specific unit on the map...
  33. JellyfishDelish

    [Trigger] Mouse Move Bug?

    Hi there, new to the forum and everything here. I came upon something that i really did not understand when creating my trigger in the world editor and using the "player issues mouse move event". At the first time i run the game everything works fine, but when i restart the game in any way...
  34. SharSash

    [Trigger] Making unit move towards point with polar offset

    So, I've made a spell based on channel with point-target. The idea of the spell is that it creates a dummy with locusts and this dummy must go into target point of abillity beign cast direction untill it reaches the edge of playable map area and dies after. But the problem is that unit goes only...
  35. xRockx

    [Trigger] Hashtable load not working on Timer Expiration

    Hello there, first off i tried dumbing down the triggers to just the parts that i think that are related to the problem if you think it must be something else please let me know. What i am basically trying to do is use a loop to create a Timer for every player that is playing. In the loop body...
  36. 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...
  37. 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...
  38. 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...
  39. 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...
  40. 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...
  41. 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...
  42. 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...
  43. 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...
  44. 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...
  45. 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...
  46. 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
  47. 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...
  48. 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...
Top