#include "nw_i0_generic" //Put this on action taken in the conversation editor void main() { object oPC = GetPCSpeaker(); AssignCommand(oPC, TakeGoldFromCreature(500, oPC, TRUE)); object oTarget; object oSpawn; location lTarget; oTarget = oPC; lTarget = GetLocation(oTarget); oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "pz_dog3", lTarget); }