I need to know it is possible to catch event when player selects unit(make it active) in current selected unit group. When i tested it, it seems "Unit selected by player" doesnt work when you selected unit in already selected group of units in UI.
Alright, as the title suggests, i did a thing and as a beginner trigger dude, i feel like this will leak if i just use it as it is, am i wrong?
Set VariableSet SelectedMobGroup = (Units of type No unit-type)
Effortless and Efficient Unit Group functions for GUI Triggers
This is a tutorial for GUI users to learn how to use the new natives for Unit Group functions while mapmaking. A lot of people, I assume, are still using GUI triggers because they don't have more time to devote to...
My issue is that both call DisplayTimedTextToForce( GetPlayersAll(), 4.00, "locusts in group: " + I2S(CountUnitsInGroup(locust_spawns_group[i])) ) and
set globalInt = 0
call GroupEnumUnitsOfPlayer(locust_spawns_group[i], p, function CountLocustsInGroupEnum)...
How can I action a trigger when a unit its removed? I tried with "Unit leaves Playable Map Area" and "Entire map" and it didn't work, Maybe you will tell me that I can detect using "Units in region" but it doesn't detect hidden units, the other functions of unit group limit the conditions, can...
Probably sounds like a hot topic that comes up every now and then. I tried searching for a good answer, but, unfortunately, found nothing that could work in my situation.
Anyway, to explain what I'm talking about. Simply put: removed units. A bit more precisely, units which get removed...
I'm creating an AOS hero AI and so far the one thing that I haven't figured out a good way to do is have the AI find units that are grouped together to cast an AOE spell. I'm currently trying to utilize base spells ID's to get the Built in WC3 AI to make decisions but there are a few spells...
Hi, I'm just wondering if my unit group is stored in a variable do I still need to use the "BJ_wantdestroygroup" function. This is the trigger I'm curious about:
Time - Every 1.33 seconds of game time
Unit Group - Pick...
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...
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...
Hello guys, so I'm having a bit of trouble here, I want to do a trigger where I kill 4 units (2 brigands, 1 assassin and 1 rogue) and certain action occurs, but I can't find a way to select a group to kill in order for an action to be activated
I can only select "kill 1 unit and certain action...
Regarding vJass Optimization: Using a First of Group Loop for Enumeration tutorial, I'm not sure I understand swaping group method
This is a example script from above tutorial
private group iterator=CreateGroup()
private group swap=CreateGroup()...
I'm trying to use Carrion Swarm to slow down (using a dummy unit) units which are being hit/damaged by it. It seems not to work if I use a picked unit variable as the unit taking damage as seen here:
Unit - A unit Starts the effect of an ability
If (All Conditions are True) then do...
I don't know why this trigger isn't working
Unit - A unit Is attacked
(Unit-type of (Attacking unit)) Equal to Trap
Set Index = (Index + 1)
Set TrapUnits[Index] = (Units in No region)
Wait 1.00 game-time...
I need some help with a trigger i couldn't complete for an ability
The ability is target to a point
When cast it creates a dummy and pick one random enemy organic unit in a range (prioritize heroes) and starts damaging it every second
If the unit leaves the maximum area the dummy will...
I use a ability called ''Soul Preservation'' to remove unit from the game, and use trigger to add each unit removed form the game to an unit group, and then use another ability and trigger to summon all units in the unit group.
The idea actully works, but there is something wrong in the...
I'm trying to make a map that displays the total value of each player, this tally's up all the units, buildings, and hero's the player owns along with their gold. Here's my trigger:
Time - Every 0.10 seconds of game time
(Player 1 (Red) slot...
I am trying to finish this trigger that should make certain units(buildings in this case) stop from attacking heros and change the objective of the order to another random non hero unit in their range
My problem is that i can not create the action
I am wanting to create a spell that works like a "Mass Raise Dead." I want it to find all corpses around the caster then raise zombies at each one while getting rid of the corpse. However, I am unable to find a method for selecting unit corpses as a unit group. I have tried two...
🔨 Hive's 3D Viewer has been updated! 🔨 It now supports MDX1100 which should fix a lot of issues when viewing HD models in our 3D Viewer. We encourage you to check it out for yourself and report any issues you find in the Site Discussion board.