Jump to content

Weapons Whitelist Blacklist


OzDeaDMeaT

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.

CPU: i9-12900K @ 4.9Ghz

M/B: MSI MEG z690 Ace

RAM: 128GB

Video Card: MSI RTX 4090 Suprim Liquid X

VR: Varjo Aero

Link to comment
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:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

  • Recently Browsing   0 members

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