Important Notification:

Due to an ongoing DDOS you might find our website to be slow at times.
Some features, like downloads, might or might not work.
Apologies for the trouble!

 


 
Forum Jump :

Author Message


Posts: 39
Rank:


Level: Member

Country: us
Location: The Battlefield
Occupation:
Age: 76
In-game name:

 
#1 Posted at 2017-09-07 04:34        
     
Created a few tasks using the BIS modules. Tasks can be assigned. Task description is displaying properly. Links to the map function correctly. Task destination set to default. All modules are sync'ed to their respective module, trigger & unit.
The only difference is my not using the Diary record module.

Have not been able to test task state as this error pops up upon entering the mission:

_destype |#| compile (_logic getvariable.... "Destination...'
Error compile: Type number, expected string
File A3\modules_F\Intel\functions\fn_module_SetTaskDestination.sqf
[BIS_fnc_module_TaskSetDestination], line 28

I checked for any info in the BIS wiki, but all their task modules are devoid of any info and/or code examples.
They mention something about attributes & rules for the modules, but do not say where that info can be found.

Is anyone familiar with this type of error and how to go about correcting it??

I was able to stop the error from popping up by removing the Task Destination Module. So the other question becomes --
Will the other task modules function correctly for the mission w/o this one module??

Any help will be greatly appreciated.....


Author Message


Posts: 94
Rank:


Level: Member

Country: us
Location: Pennsylvania
Occupation:
Age:
In-game name: Xian

 
#2 Posted at 2017-09-12 04:09        
     
Not quite sure I understand the issue.

I put down a createTask Module down and in that module, you can list the destination as Synchronized Object. Then you put down your TaskDestination module and sync that to your createTask and it worked perfectly for me. Again, I may be misunderstanding what you are trying to do.


Advertisement


Author Message


Posts: 39
Rank:


Level: Member

Country: us
Location: The Battlefield
Occupation:
Age: 76
In-game name:

 
#3 Posted at 2017-09-16 08:11        
     
@ XianGrim,

Thanks for the reply. Sorry it took so long to respond.

I was finally able to sort it out. Deleted the whole set of tasks & re-entered them. When I ran the tasks this time the error disappeared. It was probably some typo that I just kept missing or the way I connected them.

Thank you for taking the time to assist....






Tags: Modules, Tasks