VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Add Task Example

The Add Task example demonstrates the following:

The Add Task example adds a new task and controller which will receive and implement the new DtRetreatTask

Since this example is loaded as a plugin, it can be used in conjunction with the released VR-Forces 3D application

Scripted Set

This example also shows how to use this GUI as a scripted gui. Load the retreat scenario from the developer toolkit scenarios to see an example of defining and using the retreat task via a scripted dialog and lus script

How to Run

This example demonstrates how to add a new kind of task (retreat).

To view the new behavior:

  1. Load the scenario data\scenarios\developer_toolkit_examples\retreat.scn

The Add Task example demonstrates the following:

The Add Task adds a new task command which will instruct an entity to retreat under certain circumstances

Since this example is loaded as a plugin, it can be used in conjunction with the released VR-Forces 3D application

To view the new behavior:

  1. Load the scenario data\scenarios\developer_toolkit_examples\addTask\retreat.scn

Classes

DtTaskRetreatActionmenu item that is registered with the task menu from the plugin code.
DtTaskRetreatDialogThe widget that is used to select the retreat mechanism.
DtRetreatTaskThe subclass of DtSimTask that is used to communicate the new task request.

Plugin Entry Points


Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)