Jump to content

Recommended Posts

I recall being in a mission once that did this but can't remember which mission it was. Is there a way to remove weapons from an aircraft if it is not whitelisted. As the Warehousing system doesn't really have any interaction worth a damn I want to be able to dynamically ban / lock weapons if they are being over used in a mission.

-System Specs are:

 

CPU: i9-9900K @ 4.9Ghz

M/B: Asus TUF z390 Gaming Plus

RAM: 32GB

Video Card: EVGA RTX 2080 Ti XC Hybrid Gaming (11G-P4-2384)

VR: Oculus Rift S

Controls: Warthog Stick & Throttle, TPR pedals, Streamdeck XL

Link to post
Share on other sites

Not explicitly. Gotta check the player via Unit.getAmmo(), if they have something that isn't allowed or have it above a certain quantity then you gotta start the enforcement. Either displaying a message with warnings, eventually creating an explosion, or adding mass to the aircraft as a penalty.

The right man in the wrong place makes all the difference in the world.

Current Projects: Scripting Wiki, Something...

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread), SLMOD, IADScript, Mission Editing Wiki!, Mission Building Forum

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...