use quest::setglobal instead of targlobal.
set the qglobal field in npc_types to 1 if you haven't already to enable quest globals for your chosen npc. target the npc and use #showstats or #npcstats to get the npcid number.
the quest tutorial wiki page explains everything else pretty well.
|