AOC_PRC8/_module/nss/gate_msg.nss

16 lines
380 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:24:16 -04:00
void main()
{
object oPC = GetClickingObject();
object oMod = GetModule();
int nInt = GetLocalInt(oMod, "challenge");
if (nInt==1)
{
DelayCommand(1.0, FloatingTextStringOnCreature("Super challenge in progress. Gates will unlock on completion.", oPC));
}
if (GetLocalInt(oPC, "gate_locked")==1)
{
FloatingTextStringOnCreature("You must loot your reward chest first.", oPC);
}
}