Difference between revisions of "DCS func addCommandForGroup"
From DCS World Wiki - Hoggitworld.com
(One intermediate revision by the same user not shown) | |||
Line 54: | Line 54: | ||
for i = 1, #tbl do | for i = 1, #tbl do | ||
if Group.getByName(tbl[i]) then | if Group.getByName(tbl[i]) then | ||
− | local groupId = Group.getByName(tbl[i]):getID | + | local groupId = Group.getByName(tbl[i]):getID() |
missionCommands.addCommandForGroup(groupId, 'Halp', nil , imLost, tbl[i]) | missionCommands.addCommandForGroup(groupId, 'Halp', nil , imLost, tbl[i]) | ||
end | end | ||
Line 63: | Line 63: | ||
}} | }} | ||
[[Category:Singleton Functions|addCommandForGroup]] | [[Category:Singleton Functions|addCommandForGroup]] | ||
+ | [[Category:Game Patch 1.2.4|addCommandForGroup]] |