IsPlayersLastRiddenHorse - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

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

Syntax

bool Function IsPlayersLastRiddenHorse() native

Parameters

None.

Return Value

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

Examples

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

See Also