![]() |
VR-Forces 4.1 Class Documentation
|
The Subtasking example demonstrates the following:
The Subtasking example creates a new controller and process state repository that can be added to an existing VRF object entry (.ope) to handle a turn to heading and a move to waypoint as a single task. When using this example, be sure to load the scenario found in this examples directory.
Since this example is loaded as a plugin, it can be used in conjunction with the released VR-Forces application
This example demonstrates how to use the subtasking mechanisim to add a new behavior to an entity.
Select Settings, Plugins... and on the Plugins Editor page, use the combo box at the top of the page to select the plug-in. Then enable the Load Plugin checkbox and re-start VR-Forces.
To run the application:
Messages will be displayed in the Object Console tab, at each phase in the entity's behavior as it executes the turn and move behavior.