Jump to content

Creating a Mod: Need help with setting up a battle and creating a zone trigger for an NPC


Fyrestrike14

Recommended Posts

OK, so, here's a general rundown of this stage of the mod I'm creating:

 

This quest centers largely around an NPC called Rohaar the Fleet. In a previous stage, Rohaar belittled the player's abilities and challenged them to fight a powerful, unique Frost Troll. The player, of course, succeeded and beat the Frost Troll. Angry, Rohaar runs off to find other trolls so he can prove he's better than the Dragonborn.

 

Now here's where things get tricky. I want to set it up so that when Rohaar enters a certain area of the map, several Frost Trolls will spawn and attack him. However, I'm not sure how to set up one of those zone trigger things so that only Rohaar can trigger it. I don't want the player stumbling into it and getting ambushed in the same way.

 

Furthermore, since there's more than one frost troll, how do I handle that in terms of advancing the stage? Is there some sort of integer I could use? I'm fairly new to papyrus, so any help would be appreciated.

 

Thanks in advance!

Link to comment
Share on other sites

Make custom trolls. Place and set to initially disabled. Make big triggerbox around area trolls are in. Attach script to it with event OnTriggerEnter with condition If AkActionRef==Rohar

then the trolls are enabled. Put script on each troll using an OnDeath Event that advances a variable (global might be easiest). When variable=3 quest is advanced. Maybe if you want the trolls to only attack Rohar you might need a custom faction so the trolls are only enemies of Rohar. This might not be needed. You might need to set up the trigger box so the trolls are only enabled if you are within a certain range if you want to watch the fight. Make the triggerbox big enough and put some bushes or rocks in the way so you don't see the trolls being enabled. Or maybe put the trolls in a cave instead of out in the open. I don't know if you could make a package on Rohar so that if you are not close to him he will just stop and wait for you, or you could have him wait outside the cave until you enter first.

 

Something like that anyway

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...