Page MenuHomeFeedback Tracker

Massive task canceleed or suceeded
New, WishlistPublic

Description

If you create a series of task called task, task1, task2, and so on.. and you use this function BIS_fnc_taskSetState to make:

["task", "CANCELED"] call BIS_fnc_taskSetStat

You have canceled all the task with the name "task", "task1", "task2".

I think this a problem with the interal string parser of the game.

Details

Legacy ID
279985397
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Create a mission with the splendid task framework and launch:

["task", "CANCELED"] call BIS_fnc_taskSetStat or

["task", "SUCEDEED"] call BIS_fnc_taskSetStat

You have affected all the task with the beginning of the name start with "task".

"task1", "task2", "task3", etc...

Event Timeline

djotacon edited Additional Information. (Show Details)
djotacon set Category to Scripting.
djotacon set Reproducibility to Always.
djotacon set Severity to None.
djotacon set Resolution to Open.
djotacon set Legacy ID to 279985397.May 7 2016, 6:26 PM

Is task a reserverd word?

I think will be very useful create a list with reserved word avaiable to the public.