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.
16 lines
555 B
Plaintext
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"));
|
|
}
|