generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit
This commit is contained in:
15
_module/nss/gate_msg.nss
Normal file
15
_module/nss/gate_msg.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user