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