17 lines
526 B
Plaintext
17 lines
526 B
Plaintext
////////////////////////////////////////////////////////////////////////////////
|
|
// cv_hmv_haveone - Already have a mount
|
|
// By Deva B. Winblood. November 14th, 2008.
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#include "x3_inc_horse"
|
|
|
|
int StartingConditional()
|
|
{
|
|
object oPC=GetPCSpeaker();
|
|
int nParm=GetLocalInt(oPC,"nParm");
|
|
SetLocalInt(oPC,"nMode",nParm);
|
|
if (HorseGetIsMounted(oPC)) return TRUE;
|
|
else if (HorseGetHasAHorse(oPC)) return TRUE;
|
|
return FALSE;
|
|
}
|