RN-24/28 Classnames? - ED Forums


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 07-11-2019, 06:14 PM   #1
Kocrachon's Avatar
Join Date: Apr 2011
Posts: 167
Default RN-24/28 Classnames?

Hey All,

I'm trying to write a script that detects if an aircraft has specific munitions equiped.

Right now here is what I have

weapRestrict.weapon2BAN={"AIM-120C","AIM-120B","R-77"} (Example Munitions)


if weapRestrict.weapon2BAN[bwCount] == checkPayload[bCount].desc.typeName then
    trigger.action.outText("Restricted Weapon detected: " .. checkPayload[bCount].desc.typeName .. ", this weapon is BANNED,  ".. e.initiator:getPlayerName() .. " kicking to spectator", 120)
But I can't seem to figure out the name of the "Nukes" to add to my weapon2Ban list. I checked the Weapons Database file but I couldn't find them obviously as RN-28 or RN-24.

Im doing this instead of setting warehouse limits because warehouse limits break with patches frequently, so I wanted a more stable solution so I can leave on unlimited weapons.
Kocrachon is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 04:47 AM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.