Genderless in Skyrim...

Post » Tue Jun 19, 2012 5:33 am

Well, first off, Getsix() "Yes please, on this actor, not the base, this actor, not the leveled actor base, this actor!" I'm staring at an actor attacking me, obviously is wearing a bra and guess what Getsix() returns on the actor base and the leveled actor base? She's a male! Wait, WHAT? Yes, the Getsix() is sadly, unreliable, sometimes it works, sometimes not, IsSamesixAsPC is not a command, it's a condition for coding, that also fails on a lot of things. I've seen Draugr (both male and female with obvious differences), they show up as female, but this out in the woods girl (Spriggan Matron) is a dude! Must seriously get laughed at by the neighboring wild life for having those bumps on his chest... Sometimes I get a female, sometimes I get male, it's a crap-shoot.

Two things I'd like to actually see fixed, the Getsix() to work on any actor, regardless of base or not (like why is that base requiring anyways, as the Base Object will always say Male), the Leveled Actor will almost always provide Male too (default). Only actors specifically set Female (in the CK) will actually work with Getsix() as a female, the others, almost always Male.

Actor A = akRef2 as Actorsix1 = 9six2 = 8if A != NoneActorBase BP = Game.GetPlayer().GetActorBase() as ActorBaseActorBase BB = A.GetLeveledActorBase()if akRef2 == Game.GetPlayer()  six2 = BP.Getsix()elseif A != None  six2 = BB.Getsix()  if A.GetActorBase().Getsix() > six2   six1 = A.GetActorBase().Getsix()  endifendifA = akRef1 as ActorActorBase B = A.GetLeveledActorBase()if akRef1 == Game.GetPlayer()  six1 = BP.Getsix()elseif A != None  six1 = B.Getsix()  if A.GetActorBase().Getsix() > six1   six1 = A.GetActorBase().Getsix()  endifendifdebug.trace("Target" + six2 + " Caster" + six1)endif

Has anyone else found a good way to get the gender of the actor in front of you (without resorting to any script extenders)?

And anyone found a way of telling if the player is about to move to another location (door, teleport)?

GuruSR.
User avatar
Cassie Boyle
 
Posts: 3468
Joined: Sun Nov 05, 2006 9:33 am

Post » Tue Jun 19, 2012 6:47 am

I thought this was going to be an interesting post about breaking down barriers and fighting the antiquated gender binary, but it's not. Now I'm sad.
User avatar
Jessica Nash
 
Posts: 3424
Joined: Tue Dec 19, 2006 10:18 pm

Post » Tue Jun 19, 2012 2:07 am

I thought this was going to be an interesting post about breaking down barriers and fighting the antiquated gender binary, but it's not. Now I'm sad.


My wife works and i stay at home with the kids, if that makes you feel any better.
User avatar
Javier Borjas
 
Posts: 3392
Joined: Tue Nov 13, 2007 6:34 pm


Return to V - Skyrim