Copyright VirtualSim 2004-2020 - All rights reserved
Adding Entities
In vsTASKER, any entity which must be reflected in VBS using the ASI mechanism should have the VBSentity component attached. Explosives like IED or mines should have the VBSexplosive component attached. The Development manual will explain the various components to use under ASI.
The component must be properly setup (here again, refer to the Development guide)
For the VBScore definition of a single soldier, select Unit then in the Class Name, put the full VBS name as it can be retrieved from the VBS GUI itself.
Specify the optional Group and most importantly, the unique name of the VBS object counterpart. All the commands sent to VBS relatively to this soldier will identify it using this variable name (soldier).
Then, for the VBSentity definition:
Drive Mode is set to Waypoint because the soldier will move according to a plan.
The Update Mode will request from the vsTaskerPlugin position, heading and speed.
Medium update frequency is enough as the soldier position on vsTASKER is not critical.
Now, compile and start the simulation.
The component will connect to the Player vbs-proxy component and automatically create the entity soldier (unit) in VBS.
If the soldier has a plan attached to it (with VBSwaypoint routines), then it will start moving on VBS and position will be updated on vsTASKER.