HorseInstantDismount
From NWN Lexicon
Contents |
[edit] HorseInstantDismount(object)
Dismount instantly.
void HorseInstantDismount( object oRider );
[edit] Parameters
oRider
The creature who is to dismount.
[edit] Description
This function is used to dismount a rider rapidly, without producing a horse object.
Its intended usage is with cutscenes and similar situations.
It does not protect saddlebags, so it is recommended this only be used in conjunction with HorseDismount .
[edit] Remarks
In effect, this destroys the horse and returns the rider to their normal dismounted appearance.
[edit] Requirements
#include " x3_inc_horse "
[edit] Version
1.69
[edit] Example
#include "x3_inc_horse" void main() { object oPC = GetEnteringObject(); HorseInstantDismount(oPC); }
[edit] See Also
functions: |
author: Proleric, editor: Mistress