22 lines
476 B
Plaintext
22 lines
476 B
Plaintext
|
|
#include "nw_i0_2q4luskan"
|
|
|
|
void main()
|
|
|
|
{
|
|
object oTarget;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
// Unlock and open "mhjldr1".
|
|
oTarget = GetObjectByTag("mhjldr1");
|
|
SetLocked(oTarget, FALSE);
|
|
AssignCommand(oTarget, ActionOpenDoor(oTarget));
|
|
|
|
// Spawn "mhjlr1".
|
|
oTarget = GetWaypointByTag("WP_SPn_mhjlr1");
|
|
DelayCommand(1.5, CreateObjectVoid(OBJECT_TYPE_CREATURE, "mhjlr1", GetLocation(oTarget)));
|
|
}
|
|
|