FormList.HasForm failing

Post » Fri Jan 24, 2014 8:03 pm

Any ideas why the two FormList properties always returns false?

ScriptName _FH_DialogController extends Quest  {Handles the logic that determines which dialog is spoken for which commands.};Actor Property PlayerREF AutoTopic Property DefaultWait Auto; Vanilla SupportFormList Property VanillaFollowers AutoTopic Property VanillaWait Auto; InterestingNPCs SupportFormList Property InterestingNPCs AutoTopic Property InterestingWait AutoEvent OnInit()EndEventTopic Function FollowerWait(Actor actorRef)	If (actorRef) ; null check			; Check if the actor is in the applicable factions		If (VanillaFollowers.HasForm(actorRef))			Return VanillaWait		ElseIf (InterestingNPCs.HasForm(actorRef))			Return InterestingWait		EndIf	EndIf		Return DefaultWaitEndFunction

I've double and triple checked everything, very irritating. Seems like maybe it's something being out of sync, though I've tried clearing and resetting the properties in the CK etc.

DefaultWait is always returning (though I've always got an actorRef as well, I have/had debug checks in there letting me know as much).

User avatar
Cat
 
Posts: 3451
Joined: Mon Dec 18, 2006 5:10 am

Return to V - Skyrim