// An "Actions Taken" script to set a quest variable on the PC // in an NPC conversation void main() { object oPC = GetPCSpeaker(); SetLocalInt( oPC, "hamleyspoke", 100); }