Ancordia_PRC8/_module/nss/check_pegasusb.nss

16 lines
335 B
Plaintext
Raw Permalink Normal View History

2023-09-21 19:51:32 -04:00
int StartingConditional()
{
// Check if the name of the speaker is the same as object self in this case a horse. ffbj
object oPC = GetPCSpeaker();
string sRiderName = GetName (oPC);
if (GetName(OBJECT_SELF) == (sRiderName + "'s Pegasus"))
return TRUE;
else
return FALSE;
FloatingTextStringOnCreature(" Nie kradnij! ", oPC,TRUE);
}