Place this in an AI unit's init field:
this setBehaviour "COMBAT"; this setUnitPos "UP"
This works for single units.
The unit must be placed in combat mode before setunitpos works in ArmA (at least for the german 1.02 version)
You can now order the units to stand up / lie down from scripts and triggers.
Cheers.