Difference between revisions of "GetRider"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Removed beta tag)
imported>QQuix
(Added note)
Line 4: Line 4:
  (rider:ref) reference.GetRider
  (rider:ref) reference.GetRider
Returns the NPC currently riding the calling horse.
Returns the NPC currently riding the calling horse.
==Notes==
Returns a reference to an NPC from the moment the NPC 'decides' to mount and start walking toward the horse. Use [[IsRidingHorse]] to determine if the NPC is actually mounted.


==See Also==
==See Also==
*[[IsRidingHorse]]
*[[IsCreature]]
*[[IsCreature]]
*[[GetCreatureType]]
*[[GetCreatureType]]

Revision as of 10:04, 3 August 2009

A command for Oblivion Script Extender

Syntax:

(rider:ref) reference.GetRider

Returns the NPC currently riding the calling horse.

Notes

Returns a reference to an NPC from the moment the NPC 'decides' to mount and start walking toward the horse. Use IsRidingHorse to determine if the NPC is actually mounted.

See Also