View Single Post
heliumdream
Senior Member
Join Date: Aug 2006
Old 07-24-2019 , 16:21   Re: [request]Hero :Merlin
Reply With Quote #2

you can achieve this without writing too much code;
by ripping code from other existing heroes and cobbling them together.

there are other heroes that spawn creatures, notably skeletor. also, naruto spawns a player clone somehow that actively shoots, might be worth checking out.
many heroes passively regain armor, so you should be able to rip that as well. i think dr. strange might have simple implementation. if not, i think goku does.

you would be making the hero activate on keydown, spawning the creatures at that time. instead of passively like the call made in skeletor.

you would set up delay and summonlimit, and other cvars to control the hero my granularly.

good luck! it will take some coding chops to put this together.

---

i had a longstanding issue with monstermod that i finally just resolved, that now allows skeletor to work on my server. i forgot it was never even working in the first place!
__________________
heliumdream is offline