mirror of
https://github.com/mrSkortch/MissionScriptingTools.git
synced 2025-08-15 10:47:23 +00:00
v49
Fixed issued for flagFunc.group_alive and group_dead. Issue caused by a bug in DCS. Had to write minor workaround.
This commit is contained in:
parent
0e6f9d12cc
commit
08e4cb6334
4
mist.lua
4
mist.lua
@ -8,7 +8,7 @@ mist = {}
|
||||
-- don't change these
|
||||
mist.majorVersion = 3
|
||||
mist.minorVersion = 7
|
||||
mist.build = 48
|
||||
mist.build = 49
|
||||
|
||||
|
||||
|
||||
@ -3186,7 +3186,6 @@ stopFlag
|
||||
|
||||
|
||||
if stopflag == -1 or (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then
|
||||
if Group.getByName(groupName) and Group.getByName(groupName):isExist() == true then
|
||||
if trigger.misc.getUserFlag(flag) == 0 then
|
||||
trigger.action.setUserFlag(flag, true)
|
||||
end
|
||||
@ -3223,7 +3222,6 @@ mist.flagFunc.group_dead = function(vars)
|
||||
|
||||
|
||||
if stopflag == -1 or (type(trigger.misc.getUserFlag(stopflag)) == 'number' and trigger.misc.getUserFlag(stopflag) == 0) or (type(trigger.misc.getUserFlag(stopflag)) == 'boolean' and trigger.misc.getUserFlag(stopflag) == false) then
|
||||
if Group.getByName(groupName) and Group.getByName(groupName):isExist() == false or not Group.getByName(groupName) then
|
||||
if trigger.misc.getUserFlag(flag) == 0 then
|
||||
trigger.action.setUserFlag(flag, true)
|
||||
end
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
v49
|
||||
-fixed flagFuncs.group_dead and group_alive issue caused via a DCS bug.
|
||||
|
||||
v48
|
||||
-added support for cargo objects within dynAdd and DB scripts
|
||||
-DBs added entries for static objects
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user