Monday, April 23, 2012

[FA] Checking weapon enabled status

Is there a function for being able to check a weapon's enabled status? Looking through the LUADOC I haven't been able to find one and I've pawed through the code some to no luck.
Failing that, I had decided to try sticking a value into the SetWeaponEnabled function that would be set true/false depending on what happened in there, but then I discovered that this function isn't called when a weapon is created.
Does anyone know of someplace in the code where I can accurately set this up other than in the unit's code? I need it for dynamic compatibility with other mods.|||FuryoftheStars

No comments:

Post a Comment