First things first
great Update Vinfamy,
the world now feels much more lively. I'm really curious where the next 2 parts of the update will expand the possibilties for players and modders
Back to questionmode:
I tried a few things and found that the problem with getPerson() seems only to happen when i use it to get a "related" person. With normal NPCs it works like intended.
I use a workaround now:
First get all Siblings and then check each one for the tag by using "getActorVar(tag_XXX)"
Actor = getRelatedPeople(Siblings)
If Actor2.isValid() // 3 Siblings!
Sis0 = Actor0.getActorVar(tag_SisTag) //If ActorX has the tag it returns 1 else 0
Sis1 = Actor1.getActorVar(tag_SisTag)
Sis2 = Actor2.getActorVar(tag_SisTag)
if Sis0 == 1
SisActor = Actor0
elseif Sis1 == 1
SisActor = Actor1
elseif Sis2 == 1
SisActor = Actor2
EndIf
EndIf
Not perfect but it works.
Is getPerson() working as intended?
If so then should getRelative() not work with tags for related npcs too?
And one last question ...
FilterDesc(test_restricted) <- I found that the scripts had to be in the Modules\vin_Base\Descriptions folder to work
FilterTalk(test_restricted) <- I tried to have them in different folders but don't get them to work (e.g. Modules\vin_Base\DirtyTalks)
Where have the files for FilterTalk() have to be stored???