Difference between revisions of "GetRider"
Jump to navigation
Jump to search
Added note about returning ref during mount/dismount animations
imported>QQuix (Added note) |
imported>QQuix (Added note about returning ref during mount/dismount animations) |
||
Line 6: | Line 6: | ||
==Notes== | ==Notes== | ||
Returns a reference to an NPC from the moment the NPC 'decides' to mount and start walking toward the horse. Use | *Returns a reference to an NPC from the moment the NPC 'decides' to mount and start walking toward the horse. | ||
*When the PC mounts the horse, GetRider returns the Player's reference from the beginning of the mount animation to the end of the dismount animation. | |||
*Use IsRidingHorse to determine if the PC/NPC is actually mounted. | |||
==See Also== | ==See Also== |