Files
HeroesStone_PRC8/_module/nss/horse_dm_mount.nss
Jaysyn904 1eefc84201 Initial Commit
Initial Commit.
2025-09-14 15:40:46 -04:00

19 lines
310 B
Plaintext

// Mount horse
// Author : Barry_1066
// Modified : 03/01/2008
#include "x3_inc_horse"
void main()
{
object oPC = GetLocalObject(oPC,"ITEM_ACTIVATOR");
object oHorse = OBJECT_SELF;
if (HorseGetIsMounted(oPC)) return;
if (GetIsObjectValid(oHorse))
AssignCommand(oPC, HorseMount(oHorse));
}