void main() { object oTarget = OBJECT_SELF; DelayCommand(0.5,AssignCommand(oTarget, ActionCloseDoor(oTarget))); }