PoA_PRC8/_module/nss/pressureplate.nss

11 lines
224 B
Plaintext
Raw Normal View History

2022-10-07 14:20:31 -04:00
void main()
{
// Remove some gold from the player
object oDoor = GetNearestObjectByTag ("netherdoor5");
SetLocked(oDoor,FALSE);
PlaySound("as_sw_lever1");
AssignCommand (oDoor,ActionOpenDoor(oDoor));
}