Jump to content

displaying quest marker above npcs that have quests


Serifaz

Recommended Posts

Hello I am trying to make a script that will pick up on npcs within a certain range say 10 yards and if they have a quest put an object above the head of the npc and if  the quest is accepted remove the object and place a different one.

 

Is there a way to determine if an npc has a quest within a cetain range with papyrus and then place an object directly above that npc?

 

I'm not seeing much in the way of available quests in papyrus. most of it is for creating quests from what I see.

Link to comment

Not really.

 

You can only know if an actor is playing a named scene.

But finding the aliases it is involved into is a pain. You can use the two SKSE function GetNumReferenceAliases() and GetNthReferenceAlias(), and then get the quest from them.

And then check if the quest is active.

 

About placing an object "over" an actor, the only thing you can do is to create a special armor that will do it.

At this point adding this "marker" will just be a matter of equipping an item.

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use