Jump to content

Recommended Posts

Posted (edited)

We have
trigger.action.outTextForUnit(number unitId , string text , number displayTime , boolean clearview)
trigger.action.outSoundForUnit(number unitId , string soundfile )
 

But we don't have : 

missionCommands.addSubMenuForUnit(number unitId , string name , table path)
missionCommands.addCommandForUnit(number unitId , string name , table/nil path , function functionToRun , any anyArguement)
missionCommands.removeItemForUnit(number unitId , table/nil path )

trigger.action.addOtherCommandForUnit(number unitId , string name , string userFlagName , string userFlagValue )
trigger.action.removeOtherCommandForUnit(number unitId , string name )

 

Thoses functions are very important when we play in multiplayer, for making individual radio button.

Ex :

- For a missionmaker to manage the mission in flight
- For script like CTLD to give Transport Helicopter the capacity to embark / Disembark trooper without beeing forced to make one helicopter per group

Individual radiobutton will be much appreciated for all the community, especialy squadrons. That game more freedom for missionmakers.

Can you add thoses function please (lua and triggers interface) ?

Thank you!

Edited by Kappa-131st
  • Like 1
Posted (edited)

And for the love of god, please allow someone with API skills to work on that API while you are at it! If it was me, whoever greenlit splitting the command tree to trigger and mission commands with different semantics and functions (and who I suspect may also be the one guilty of the atrocious split for getUserFlag/setUserFlag in the API) would be fired on the spot. For cause.

Please, please, please put some more effort into the MSE API.

Edited by cfrag
  • Like 2
  • 4 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...