Serifaz Posted September 17, 2016 Posted September 17, 2016 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.
Guest Posted September 17, 2016 Posted September 17, 2016 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.
Serifaz Posted September 19, 2016 Author Posted September 19, 2016 ahh kk thanx Ill give it a shot thanx again
Recommended Posts
Archived
This topic is now archived and is closed to further replies.