Battledale_PRC8/_module/nss/jw_on_use_locked.nss
Jaysyn904 7b9e44ebbb Initial upload
Initial upload.  PRC8 has been added.  Module compiles, PRC's default AI & treasure scripts have been integrated.  Started work on top hak for SLA / Ability / Scripting modifications.
2024-03-11 23:44:08 -04:00

16 lines
555 B
Plaintext

void main()
{
object oPC=GetLastUsedBy();
AssignCommand(oPC,PlayAnimation(ANIMATION_LOOPING_GET_MID,1.0,1.0));
//CreateObject(OBJECT_TYPE_ITEM,"jw_faketrap",GetLocation(OBJECT_SELF));
//AssignCommand(oidUser,ActionUnlockObject(GetObjectByTag("jw_faketrap")));
//DelayCommand(0.5,DestroyObject(GetObjectByTag("jw_faketrap")));
DelayCommand(0.3,PlaySound("as_dr_locked3"));
FloatingTextStringOnCreature("*Locked*",oPC);
//DelayCommand(0.3,SpeakString("This trap door is locked"));
}