I'm assuming you're using a loop to spawn for each player, you could, when Integer A (Or your local variable if in JASS) equals five, just spawn the boss unit. It'd be helpful if you posted the code. But I would do something like this.
Events
- Whenever they spawn
Conditions
- Whatever
Actions
-...
That will work, I'll try it, thanks Kaerf. I can't believe you're still around here by the way, I used to be NeuroToxin, and I remember you being here still.
So as the title suggests, I need to make a custom win. But it's not the game win, just a battle win. Normally I'd detect every unit thats in the enemies base and when they're all dead just say hey you win now go back to your base. But the problem is that the game I'm making isn't made that way...
It gives me an unexpected "(" in the call function, but it should be there... anyways, can anyone help?
function PlayerExceedsMax takes integer p returns nothing
call SetPlayerStateBJ( Player(p), PLAYER_STATE_RESOURCE_GOLD, udg_MaxGold[p] )
call SetPlayerStateBJ( Player(p)...
Haven't made maps for a long while, and just getting back into it. I don't recall a way to move a building with a spell. But furthermore if I could Id like to make it so when you use the spell, you get the initial placement picture and can move it with your mouse, you know like when you build...
Hey guys,
I'm wondering if there's a way to move a building, like just click an ability that it has say let's call it Rearrange. When you hit Rearrange I want it to go back like your going to rebuild it, you know with the visual of where it's going to go? Is that possible to do? Sorry if it...