HorseMoveAssociates(object)

Move associates away from master.

void HorseMoveAssociates(
    object oMaster
);

Parameters

oMaster

The creature whose associates should move away.


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.



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.


Requirements

#include "x3_inc_horse"

Version

1.69

Example

#include "x3_inc_horse"

void main()
{
  object oPC = GetPCSpeaker(); 
  
  HorseMoveAssociates(oPC);
}

See Also

functions:  HorseForceJump
categories:  Horse Functions


author: Proleric, editor: Mistress