IsPlayersLastRiddenHorse - Actor

Revision as of 17:36, 9 September 2010 by imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Actor Script Checks to see if this actor is the horse the player last rode. == Syntax == <source lang="papyrus"…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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