1. check the editors depot for this very basic stuff.
2. You still need a trigger with the end type in it, but you can fire it with a variable in a script. At the bottom of your script before it exits, put a variable such as over=true. In the condition of your end trigger put over. Simple eh ? In your init.sqs you should define over=false so flashpoint knows it's not time for the end condition yet.