WoR_PRC8/_module/nss/straladsewer.nss

13 lines
361 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:49:34 -04:00
void main()
{
if (GetIsOpen(OBJECT_SELF)){
object oPC = GetLastUsedBy();
AssignCommand(oPC, JumpToObject(GetWaypointByTag("stralad_sewer")));}
else {
ActionOpenDoor(OBJECT_SELF);
PlayAnimation(ANIMATION_PLACEABLE_OPEN);
DelayCommand(10.0, ActionCloseDoor( OBJECT_SELF));
DelayCommand(10.0, PlayAnimation(ANIMATION_PLACEABLE_CLOSE));
}
}