IsPlayersLastRiddenHorse - Actor

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Checks to see if this actor is the horse the player last rode.

Syntax[edit | edit source]

bool Function IsPlayersLastRiddenHorse() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is the player's last ridden horse.

Examples[edit | edit source]

; Did the player just ride Ed?
if Ed.IsPlayersLastRiddenHorse()
  Debug.Trace("The player just rode Ed!")
endIf

See Also[edit | edit source]