Somewhere in a method or process where the NPC is attacking you just make a statement like if(npcid == darkwizard) startAnimation(cast); startGFX(), etc. You have to personally add it in because it's not there already most likely.
|
How do i Edit a npc attack, defend and death emote?
How do i make it so wizard's can cast magic?
Well, i got the Cast magic working, but when it's about gfx, it's not casting it ;S..
I'll make a video of it if noone understand what i'm saying
Example; this is how PlayerCastOnNpc works
I wan't to fix that for npc 2.. So Dark wizard's throws magic at me;P
Npc Spawning.Code:} else if (npcs[NPCID].npcType == 172 && plr.ProtMage == true) { //Dark wizard npcs[NPCID].animNumber = 711; // mage attack plr.specGFX(85); hitDiff = 0;
How do i make it so a npc spawns after i killed one. Example;
Let's say i killed a man, i want a goblin to spawn after i kill a man.
Like mage arena on RS.
Night;D
Somewhere in a method or process where the NPC is attacking you just make a statement like if(npcid == darkwizard) startAnimation(cast); startGFX(), etc. You have to personally add it in because it's not there already most likely.
well, in the death method of the npc u kill firstNpc Spawning.
How do i make it so a npc spawns after i killed one. Example;
Let's say i killed a man, i want a goblin to spawn after i kill a man.
Like mage arena on RS.
if(npcid = man) {
newNPC(goblin);
}
And where's the death method for NPC?
Bump.. I still need help =/
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |