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

24 lines
453 B
Plaintext

// script: horse_mount
// by Barry_1066
// 02/10/2008
// Included so DMs can mount DLA/Bioware horses
#include "x3_inc_horse"
void main()
{
object oPC = GetPCSpeaker();
object oHorse = OBJECT_SELF;
if(GetIsDM(oPC) || GetIsDMPossessed(oPC))
{
if (GetIsObjectValid(oHorse))
AssignCommand(oPC, HorseMount(oHorse));
if (GetItemPossessedBy(oPC, "horse_dismt2")== OBJECT_INVALID)
{
CreateItemOnObject("zep_horse_dismt", oPC);
}
}
}