This sounds like a plan, I am actually going to do this now.
|
well, im making a new minigame, that will need you to kill someone, when it reach to its half HP, about 4+ NPCs spawn and attack, which you need to kill to kill the main BOSS, if you know what i mean.. i have searched for minigame tuts on how to make some, but couldnt find. help..?
This sounds like a plan, I am actually going to do this now.
wow lol any other help?
lol.... you guys clearly don't use your brains...
in the method that handles npc attacking
if statement asking if the npc has less than half hp and some boolean is false
if so, spawn npcs, set boolean true
For a PI I think you could do something like.
if (newNPC.npcType == #### && newNPC.HP <= ##) {
spawnNpc(infohere);
}
Not entirely sure, this is assuming the boss was spawned as well using that. I havn't done this before, so I can't give you a clear answer on it. Sorry if this didn't help.
this is wrongCode:newNPC.npcTypeCode:npcs[i].npcType
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |