I am working on a boss... I want to know how I can time my projectiles, and make it shoot out projectiles to more then one person.
and how can I make a npc spawn another npc when it reaches a certain amount of health? thanks will rep.
Printable View
I am working on a boss... I want to know how I can time my projectiles, and make it shoot out projectiles to more then one person.
and how can I make a npc spawn another npc when it reaches a certain amount of health? thanks will rep.
with a more detailed explanation, he meansQuote:
Originally Posted by arr0wtohell [Only registered and activated users can see links. Click Here To Register...]
1: We need to time the projectiles so as soon as they get close enough to the player, the stillgfx shows up with the splash or w.e and the damage shows up.
2: i think he explained it enough, but we want to make it a multi attack, so with the above things, the projectiles shoot to everyone who is in that area attacking the boss, (we've already made it show a hitsplash for everyone and damage them)
3: what is a good way to make an npc spawn a couple npcs after it has gotten to below a certain amount of hp?
Bump
I would do something like this foar delta;
Code:if(npcs[NPCID].npcType == *npc-id-goes-here* && npcs[NPCID].HP < 20) {
spawnANPC(2738, temp.absX, temp.absY, temp.heightLevel);
}
what about more then one projectile when being hit with mage, and timing it?
Bump
anyone?
I have a piece of code from an NPC attack i made ages ago.Quote:
Originally Posted by arr0wtohell [Only registered and activated users can see links. Click Here To Register...]
It basicy attacks the players around the creature and shows the "fire wave spell hit" GFX, though it has no projectiles. Sorry.
OFFTOPIC: Did my code for npc spawning another npc work? :O i just handwrote it lol - my things never work in the first go ^^