20 lines
449 B
Plaintext
20 lines
449 B
Plaintext
|
|
void main()
|
|
|
|
{
|
|
object oSpawn;
|
|
object oTarget;
|
|
|
|
// Get the PC who is in this conversation.
|
|
object oPC = GetPCSpeaker();
|
|
|
|
AssignCommand(GetObjectByTag("GrayMouser"), SetFacingPoint(GetPosition(oPC)));
|
|
|
|
// Spawn "mousrp1".
|
|
oSpawn = CreateObject(OBJECT_TYPE_PLACEABLE, "mousrp1", GetLocation(oPC));
|
|
|
|
// Give the PC a new henchman.
|
|
oTarget = GetNearestObjectByTag("GrayMouser", oPC);
|
|
AddHenchman(oPC, oTarget);
|
|
}
|