Ancordia_PRC8/_module/nss/check_pegasusa.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

16 lines
334 B
Plaintext

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 + "' Pegasus"))
return TRUE;
else
return FALSE;
FloatingTextStringOnCreature(" Nie kradnij! ", oPC,TRUE);
}