HorseGetMountTail

From NWN Lexicon


Contents

[edit] HorseGetMountTail(object)

Retrieves the tail used for a horse.

[edit] Parameters

oHorse

The object whose tail model is required.


[edit] Description

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



[edit] Remarks

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


[edit] Requirements

#include " x3_inc_horse "

[edit] Version

1.69

[edit] 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));
}

[edit] See Also

functions: 

HorseInstantMount



author: Proleric, editor: Mistress

Personal tools
Categories