Here are the scripting commands to use for opening doors etc via the mission editor.
Syntax
this animate ["selectionname", position]
Huey Doors (Dustoff, UH-1C ARA/Gunship)
Open Left Doors
this animate ["sidedoorl", 1]
Close Left Doors
this animate ["sidedoorl", 0]
Open Right Door
this animate ["sidedoorr", 1]
Close Right Door
this animate ["sidedoorr", 0]
Raise Pilot Sight
this animate ["pilotsight", 1]
Close Pilot Sight
this animate ["pilotsight", 1]
Open Chinook Ramp
this animate ["backramp", 1]
Close Chinook Ramp
this animate ["backramp", 0]
Lower Pilot Visor
this animate ["visor", 1]
Raise Pilot Visor
this animate ["visor", 0]
SelectThis