Anyone know a function to automatically trigger combat?

I'm having trouble finding one in both the story editor and the script editor.