T
team.ism
Guest
This question is for the advanced triggerers(?):
I want to make a merc system with the following uses:
1. You can buy the merc then as soon as you buy it the selling unit can no longer sell it. Meaning that it disappears from the selling units slots, not just sets the available units to 0.
2. when you buy the merc, it will follow you wherever you go and will attack creeps that attack you or creeps that they see automatically. I am thinking maybe putting some auto abilities on him so he can cast abilites automatically.
3. I want to make him neutral so that the player cannot control him directly but can still click on him and see his stats and equipped items.
4. Maybe making it possible to give him items (like potions or equipment). He is a hero so he can level and get stronger. ( not that important really )
5. Make it possible to hire different mercs. Say I get a footman merc and then I decide I want a rifleman merc. When I buy the Rifleman merc I want the Footman merc to be removed from the game and the Rifleman replacing him. Alos the footman will be available for selling again and the rifleman will be removed.
I know this is a lot of stuff, but I also know that there are a lot of great people in here that know a lot about the editor.
I have tried some of the possibilities myself. The one that is irritating me is the following and attacking automatically. I can get the merc to follow me but if I am attacked and the creep is out of his range then he will just stand there. When he finally does attack then afterewards he will just stand there and not follow anymore.
I would appreciate any help that is provided me.
Also I am using WEU so I can use any of the advanced triggers it provides and will be able to insert JASS code if it would be easier to provide that.
Thanks again for reading this.
I want to make a merc system with the following uses:
1. You can buy the merc then as soon as you buy it the selling unit can no longer sell it. Meaning that it disappears from the selling units slots, not just sets the available units to 0.
2. when you buy the merc, it will follow you wherever you go and will attack creeps that attack you or creeps that they see automatically. I am thinking maybe putting some auto abilities on him so he can cast abilites automatically.
3. I want to make him neutral so that the player cannot control him directly but can still click on him and see his stats and equipped items.
4. Maybe making it possible to give him items (like potions or equipment). He is a hero so he can level and get stronger. ( not that important really )
5. Make it possible to hire different mercs. Say I get a footman merc and then I decide I want a rifleman merc. When I buy the Rifleman merc I want the Footman merc to be removed from the game and the Rifleman replacing him. Alos the footman will be available for selling again and the rifleman will be removed.
I know this is a lot of stuff, but I also know that there are a lot of great people in here that know a lot about the editor.
I have tried some of the possibilities myself. The one that is irritating me is the following and attacking automatically. I can get the merc to follow me but if I am attacked and the creep is out of his range then he will just stand there. When he finally does attack then afterewards he will just stand there and not follow anymore.
I would appreciate any help that is provided me.
Also I am using WEU so I can use any of the advanced triggers it provides and will be able to insert JASS code if it would be easier to provide that.
Thanks again for reading this.


