IsPlayersLastRiddenHorse - Actor

Member of: Actor Script

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

SyntaxEdit

bool Function IsPlayersLastRiddenHorse() native

ParametersEdit

None.

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit