11-04-2008, 05:58 PM
And I did, but I thought of one last thing I kinda want to add. The problem is, I can't think of how to do it.
In my quest system, you can make the player kill npcs to complete the quest. I want like, a special "Boss" kind of npc, that only spawns on the map if the player has to kill it for a quest. That way you can randomly have a giant NPC that attacks on sight rampaging through a map (or several maps) in noob town.
I figured there's a couple different ways to approach it, either adding a new variable to npcs, or to the map properties. But when it actually comes to checking if a player on the map has a quest with a "boss" npc, and spawning that npc only when that player is on the map.
Keep in mind, I haven't started coding this at all. Just been brainstorming and looking at the spawn npc sub. Help me brainstorm mirage.
In my quest system, you can make the player kill npcs to complete the quest. I want like, a special "Boss" kind of npc, that only spawns on the map if the player has to kill it for a quest. That way you can randomly have a giant NPC that attacks on sight rampaging through a map (or several maps) in noob town.
I figured there's a couple different ways to approach it, either adding a new variable to npcs, or to the map properties. But when it actually comes to checking if a player on the map has a quest with a "boss" npc, and spawning that npc only when that player is on the map.
Keep in mind, I haven't started coding this at all. Just been brainstorming and looking at the spawn npc sub. Help me brainstorm mirage.