[BUG] GetFactionReaction not returning proper values

Post » Tue Jun 19, 2012 8:56 pm

Ok, so I'm trying to fix up the faction hostility in my alt-start mod and found http://www.creationkit.com/GetFactionReaction_-_Actor. This is perfect because it'll do what I want without a bunch of hassle.

Only one problem. The wiki claims this function returns a 0, 1, 2, or 3 based on what setting the relationship is, but in my script testing, no matter what, all I can ever get out of it is a 0/1 response as though it's behaving like a boolean instead.

Could someone please verify this? If it's broken it would be nice to have it fixed down the road in a patch.
User avatar
biiibi
 
Posts: 3384
Joined: Sun Apr 08, 2007 4:39 am

Post » Tue Jun 19, 2012 9:30 am

*poke* So nobody knows? Can't verify it?
User avatar
Niisha
 
Posts: 3393
Joined: Fri Sep 15, 2006 2:54 am

Post » Tue Jun 19, 2012 2:40 pm

The note that the return value "will eventually be an enum" seems to imply that the page is out of date. The only place in which this function is used is in defaultActivateSelf.psc, in which it's compared with "1". Perhaps the documentation is simply out of date and the function isn't as extensive as you might hope?

Cipscis
User avatar
Christie Mitchell
 
Posts: 3389
Joined: Mon Nov 27, 2006 10:44 pm

Post » Tue Jun 19, 2012 7:34 pm

Well if that's true it svcks because I kind of need this functionality :P
User avatar
pinar
 
Posts: 3453
Joined: Thu Apr 19, 2007 1:35 pm


Return to V - Skyrim