PlayersLastRiddenHorse, where's you from?

Post » Sat Aug 17, 2013 12:25 am

so i'm trying to prevent a horse from fast traveling with the player.

any attempts with adding and removing horses from PlayerHorseFactions brought me nowhere.

so, as far as i could track this down, what travels with you is PlayersLastRiddenHorse.

my question now seems to be: where is this stored and can i manipulate this?

like, temporarily set PlayersLastRiddenHorse to none or whatever, but i'd have to FIND it for this in the first place :-)

or, if u got a better question for me, let me hear :-)

User avatar
Verity Hurding
 
Posts: 3455
Joined: Sat Jul 22, 2006 1:29 pm

Post » Sat Aug 17, 2013 1:38 am

Not sure how helpful this is, but looking through Convenient Horses chquestscript.psc I found the following fragments. it has an MCM option to disable horse tracking.

; Clear last ridden horse handle on player		if SKSEOK && CHHorseTrackingDisable.GetValueInt()			if HorseLastRiddenRef == HorseOwnedRef && !HorseOwnedRef.IsBeingRidden()				SetPlayersLastRiddenMount(None)			endif		endif	endif; ....Function SetPlayersLastRiddenMount(Actor akHorse)	if !SKSEOK		return	endif	SetPlayersLastRiddenHorse(akHorse)	; This function requires SKSE 1.6.10+EndFunction

It appears that the SetPlayersLastRiddenHorse() function isn't listed on the CK wiki... but googling it revealed a few pages that list the function without any real description.

User avatar
Steven Nicholson
 
Posts: 3468
Joined: Mon Jun 18, 2007 1:24 pm

Post » Sat Aug 17, 2013 12:28 am

It may be an SKSE function. As the 'Get' and 'Is' form of that command are on the wiki, but not 'Set': http://www.creationkit.com/GetPlayersLastRiddenHorse_-_Game http://www.creationkit.com/IsPlayersLastRiddenHorse_-_Actor

User avatar
tegan fiamengo
 
Posts: 3455
Joined: Mon Jan 29, 2007 9:53 am

Post » Fri Aug 16, 2013 4:48 pm

yeah well SetPlayersLastRiddenHorse would indeed be exactly what i need :-) --- but without skse :-(

which more or less returns me to the question: where in tamriel is this stored...!?

User avatar
Cathrin Hummel
 
Posts: 3399
Joined: Mon Apr 16, 2007 7:16 pm

Post » Fri Aug 16, 2013 3:29 pm

certainly is.

not only does it say "this function requires skse" lound and clear right next to the script line :-), but i also just tried "Game.SetPlayersLastRiddenHorse ( None )" for a laugh, wouldn't comple :-)

say ajv, since you're here already, stg completely different: is falskaar also available elsewhere than godcomplex.com meanwhile? (i'm banned there. twice. :-)

User avatar
Jynx Anthropic
 
Posts: 3352
Joined: Fri Sep 08, 2006 9:36 pm


Return to V - Skyrim