Jump to content

Weird behaviour on a Forced Ref To


Recommended Posts

Hi,

 

I am having a weird situation happening when I set a forced reference to an alias.

 

I am getting some references for a quest using a:

 

Game.GetFormFromFile(objective.FormID, RequiredDLC) as ObjectReference
Which is properly filling the form.
I then set the objectReference to an Alias by doing a ForceRefTo.
The alias is properly filled and I get a quest objective and a marker in the map.
If the target is in the map, it properly shows the correct location and all works fine.
If I do it in an interior cell it seems to work, with a marker pointing to the closest door. The issue comes when I enter the interior cell. Sometimes it shows the proper marker, sometimes it doesn't. And even then it populates the local map with pointers which should only shown on the exterior map, as it points to the objects outside.
Any idea about what is going on and what am I doing wrong? Why would it work sometimes but not always?
Thanks,
SameOldBard
Link to comment
Share on other sites

  • Recently Browsing   0 members

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