Well, yes. Eventually there will be multiple Air Village Faction groups that will be run through with this voting trigger.
The trigger first gets every unit in the air village group, checks if they are a Master, and if they are, adds them to a voting session group.
It then runs through the...
At the moment its just a placeholder in the most part. Its meant to assign units to a specific village group dynamically as needed in game. As I haven't built the systems for that yet though, I simply use all the units inside a given region as my test village set, and they are all added to the...
Alright, so after a bit of RL stuff, finally got around to some debugging.
The core of the issue is that the custom value of the unit seems to be set to 2, rather than 1, and hence it references an empty unit group rather than the one with units in it. The unit group should be working and all...
>Sounds like an odd bug here.
Yeah, I'll delete its data entry, and start making it up in the object editor again from scratch. ATM I don't have any terrain, or much object data done, its mostly the background system triggers I'm working on ATM, so if I have to start a new map to get rid of it...
Ok, so I've got the unit to build and all finally. The group still isn't moving, which is a bit annoying, but its less essential than the rest at this point.
Another issue has arisen though. I duplicated a Town Hall, gave it the animation tags Upgrade and Second to have it look like a castle...
From memory the array size didn't matter, unless you were setting default values for the variables, whilst I declare what is in this group in another variable. Is this different for Unit Groups?
Either way, I'll give it a go and see how it works.
Ok, after some more toying around the players themselves are now spawning properly, however no unit at all is obeying any order given to it by a trigger.
Here is an example of one such trigger. The trigger posts out all the debugs [Dependent on which If/Then/Else ends up being selected] except...
Ok, so recently a number of my triggers have been mysteriously not working. After a lot of trouble shooting the problem seems to come from the map itself, with a strange bug or something that I haven't seen before.
Now, my map presently has 3 "Players" activated. Used to be 2, but for debugging...
Alrighty, so after sorting my previous lot of issues out, I'm now kind of stuck again.
I wish to place a building with triggers, but I wish that building to be unbuilt. 0% build progress. Presently I've tried placing the building with triggers, then setting its build progress to 0% with...
Alright, its been a while, but after... 4 years or so, I've finally found the time to resume/restart Warcraft 3 map making.
Unfortunately, I've forgotten a lot, and a lot of things seem to have changed from when I last reared my head, so I'm probably going to be dropping in every now and then...
1. Defence Matrix is an instant effect type ability (I think). Change it to a effect-target ability then modify the target filters.
2. Does the buff at least show up? If so than make sure your armor multiplier field is set to 1.
3. Make two different weapons with the same name and, if these...
The second loop is in the first loop, its just a bit hard to tell with the code tags. I can't wait for SCII Tags for GUI as I don't feel the WC3 tags quite fit in.
Also, I have fixed the PlayerRace(PlayerRace(LoopInteger(1))) and it still does not want to work. I'm thinking of taking out all...