IsPlayersLastRiddenHorse - Actor

From the CreationKit Wiki
Revision as of 16: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)
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]