Page MenuHomeFeedback Tracker

Issue with Bis_fnc_strategicMapOpen Function
New, WishlistPublic

Description

I am having an issue when attempting to define dynamic missions utilizing the Bis_fnc_strategicMapOpen function. The issue revolves around the {} around the code section. These appear to be stopping me from defining local script variables (that are references to global variables) from being correctly defined.

E.G.
_missionsData = [
[GetPos _teleporter,{_teleporter spawn OzDM_fnc_StrategicMap_TELEPORT},"Test1","Test1","","",1,[]],
[GetPos Teleport_2,{Teleport_2 spawn OzDM_fnc_StrategicMap_TELEPORT},"Test2","Test2","","",1,[]]
];

The first array entry does not work because the _teleporter defined in-between the {} does not refer to the global variable, it keeps the _ name and when it is recalled by the Bis_fnc_strategicMapOpen it does not have that local variable defined.

Details

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

Attempt to define a local variable in the code section of the Bis_fnc_strategicMapOpen function.

Additional Information

If there is a way to do this I do not know it. I am keen to find out if someone has re-written the functions utilized by the strategic map modules as it appears the current ones are somewhat limited.

Event Timeline

ozdeadmeat edited Additional Information. (Show Details)
ozdeadmeat set Category to Scripting.
ozdeadmeat set Reproducibility to Always.
ozdeadmeat set Severity to None.
ozdeadmeat set Resolution to Open.
ozdeadmeat set Legacy ID to 1513824329.May 7 2016, 7:05 PM
Bohemia added a subscriber: AD2001.Jul 23 2014, 8:32 PM

come on, i cant be the only person who finds this bloody annoying?