- Joined
- Oct 12, 2016
- Messages
- 769
I've got a test map for some squad based combat stuff.
It's going all fine in small scale, but once a large number of squads (6 - 10+) are present, funny things happen like:
- Random movement
- No movement
- Nearby squads being given separate commands, but either not responding or sharing the same command
Now, I know it's probably the JASS, and I'll admit: my knowledge in it is limited.
The squad system is nicked (literally) from Em! and Mechanical Man, whom I will credit, and of which is modified and reorganised greatly.
So, what I'm asking is:
Additional information that may be handy:
- Squad leaders have mana to indicate squad size, the Reinforce ability is triggered for squad reinforcements
- Squad leaders and units are all set as variables
- Squad movement triggers are all in the "Squad" catagory
- Squads are controlled by a dummy player that's 6 player numbers above the controller (variable: TranslatePlayerNumber)
It's going all fine in small scale, but once a large number of squads (6 - 10+) are present, funny things happen like:
- Random movement
- No movement
- Nearby squads being given separate commands, but either not responding or sharing the same command
Now, I know it's probably the JASS, and I'll admit: my knowledge in it is limited.
The squad system is nicked (literally) from Em! and Mechanical Man, whom I will credit, and of which is modified and reorganised greatly.
So, what I'm asking is:
- Can anyone identify the problem, refine it, and demonstrate it through the test map attached?
- Can anyone offer a different kind of squad-based system that can be used in version 1.29+ of Warcraft 3? (not for WEX, sharpcraft, etc... I've looked at other systems in the spell section, and I want to be able to save and operate them in the original editor)
Additional information that may be handy:
- Squad leaders have mana to indicate squad size, the Reinforce ability is triggered for squad reinforcements
- Squad leaders and units are all set as variables
- Squad movement triggers are all in the "Squad" catagory
- Squads are controlled by a dummy player that's 6 player numbers above the controller (variable: TranslatePlayerNumber)