Lankhmar_PRC8/_module/nss/conv_door_ratdoo.nss

24 lines
410 B
Plaintext
Raw Normal View History

2025-04-03 12:54:47 -04:00
void main()
{
object oPC = GetPCSpeaker();
int nInt;
object oTarget;
oTarget = GetObjectByTag("ratdoor");
AssignCommand(oTarget, ActionOpenDoor(oTarget));
oTarget = GetObjectByTag("Fafhrd5");
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WP_FafMse")));
oTarget = GetObjectByTag("Fafhrd5");
nInt = GetObjectType(oTarget);
oTarget = GetObjectByTag("Fafhrd5");
DestroyObject(oTarget, 3.0);
}