HorseGetMountTail

From NWN Lexicon
Jump to: navigation, search


HorseGetMountTail(object)

Retrieves the tail used for a horse.

Parameters

oHorse

The object whose tail model is required.


Description

This function will return the tail that should be used with the specified horse.



Remarks

GetCreatureTailType , which returns the tail of the target itself (which will be null, in the case of a dismounted horse).


Requirements

#include " x3_inc_horse "

Version

1.69

Example

// A PC is given an instant mount that looks like an existing horse.
#include "x3_inc_horse"
 
 
void main()
{
  object oPC    = GetEnteringObject();
  object oHorse = GetObjectByTag("enter tag of an existing horse here");
 
  HorseInstantMount(oPC, HorseGetMountTail(oHorse));
}

See Also

functions: 

HorseInstantMount



author: Proleric, editor: Mistress