HorseMoveAssociates

From NWN Lexicon


Contents

[edit] HorseMoveAssociates(object)

Move associates away from master.

[edit] Parameters

oMaster

The creature whose associates should move away.


[edit] Description

This function will cause any associates to move away from their master a small amount, to make sure they do not block movement. This can be particularly important when you consider horses have a bit more personal space requirements than the traditional associate.



[edit] Remarks

This function is used by the Bioware transition scripts to reduce the risk that horses or henchmen prevent the PC from moving on entry to a new area.

Otherwise, gridlock can occur in narrow entrances.


[edit] Requirements

#include " x3_inc_horse "

[edit] Version

1.69

[edit] Example

#include "x3_inc_horse"
 
void main()
{
  object oPC = GetPCSpeaker(); 
 
  HorseMoveAssociates(oPC);
}

[edit] See Also

functions: 

HorseForceJump



author: Proleric, editor: Mistress

Personal tools
Categories