22 lines
487 B
Plaintext
22 lines
487 B
Plaintext
|
|
#include "nw_i0_generic"
|
|
|
|
void main()
|
|
|
|
{
|
|
object oSpawn;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
SetLocalString(oPC, "cbsbnt1", "1");
|
|
|
|
// Spawn "crbtwknfe1".
|
|
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "crbtwknfe1", GetLocation(oPC));
|
|
AssignCommand(oSpawn, DetermineCombatRound(oPC));
|
|
|
|
// Destroy an object (not fully effective until this script ends).
|
|
DelayCommand(4.0, DestroyObject(GetObjectByTag("cbsbnt1")));
|
|
}
|
|
|