Time for action – employing scripting for npc AI