| 3819 | } |
| 3820 | |
| 3821 | void cTaskLib::Load_MoveFT(const cString& name, const cString& argstr, cEnvReqs&, Feedback& feedback) |
| 3822 | { |
| 3823 | cArgSchema schema; |
| 3824 | |
| 3825 | schema.AddEntry("target_id", 0, 1); |
| 3826 | cArgContainer* args = cArgContainer::Load(argstr, schema, feedback); |
| 3827 | if (args) NewTask(name, "MoveFT", &cTaskLib::Task_MoveFT, 0, args); |
| 3828 | |
| 3829 | // Add this target id to the list in the instructions file. |
| 3830 | m_world->GetEnvironment().AddTargetID(args->GetInt(0)); |
| 3831 | } |
| 3832 | |
| 3833 | double cTaskLib::Task_ConsumeTarget(cTaskContext& ctx) const |
| 3834 | { |
nothing calls this directly
no test coverage detected