#include "x3_inc_horse" // Have the caller dismount, then destroy the horse. void DismountAndDestroy() { object oHorse = HorseDismount(FALSE); DestroyObject(oHorse); } void main() { object oEnterer = GetEnteringObject(); // Check for a mounted arrival. if ( HorseGetIsMounted(oEnterer) ) // Dismount and destroy the horse. AssignCommand(oEnterer, DelayCommand(2.0, DismountAndDestroy())); }