Option special_action

Perform a special action.

Parameters of that option:
ParameterTypeMeasureRangeDescription
special_action.mirrorbooleantrue/ falseMirror the special action
special_action.idenumeratedmotion.special_actionSpecial action ID to perform

State Machine

This browser can't display the SVG file svg/option_special_action.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html

State special_action

If that state is active,
 >  This enumerated output symbol is set:
    motion.type  = 
motion.type.special_action
 >  This enumerated output symbol is set:
    motion.special_action  = 
@special_action.id
 >  This boolean output symbol is set:
    motion.special_action.mirror  = 
@special_action.mirror
 
The decision tree:
  This browser can't display the SVG file svg/option_special_action_state_special_action.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
/** special action started */
if (
(executed_motion.type() == motion.type.special_action)
&& 
(executed_motion.special_action() == @special_action.id)
&& 
(
(
(executed_motion.special_action.mirror() )
&& 
(@special_action.mirror)
)
|| 
(
(
!(executed_motion.special_action.mirror() )
)
&& 
(
!(@special_action.mirror)
)
)
)
)
{
  
goto special_action_in_progress;
}
else
{
  
/** abort if special action couldn't be started */
if ( state_time > 1000)
{
  
goto aborted;
}
else
{
  
stay;
}
}

State special_action_in_progress

If that state is active,
 >  This enumerated output symbol is set:
    motion.type  = 
motion.type.stand
 
The decision tree:
  This browser can't display the SVG file svg/option_special_action_state_special_action_in_progress.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
/** special action finished */
if (
!(executed_motion.type() == motion.type.special_action)
)
{
  
goto finished;
}
else
{
  
stay;
}

State finished

This state is a target state.



If that state is active,
 >  This enumerated output symbol is set:
    motion.type  = 
motion.type.stand
 
The decision tree:
  This browser can't display the SVG file svg/option_special_action_state_finished.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
stay;

State aborted

This state is a target state.



If that state is active,
 >  This enumerated output symbol is set:
    motion.type  = 
motion.type.stand
 
The decision tree:
  This browser can't display the SVG file svg/option_special_action_state_aborted.svg.



The Adobe SVG Viewer 3.0 can be downloaded from http://www.adobe.com/svg/viewer/install/main.html
 
Pseudo code of the decision tree:
 
stay;