Command to remove class.

Started by Rayce, July 10, 2015, 06:46:35 PM

Previous topic - Next topic
Is there an LUA command that would allow me to remove or replace a unit class from the level?

Wouldn't you just remove it from the lua?  I know that BF2 mission.lua is set up differently, but I'm pretty sure you just remove it from the file.  Or hex it out.
The BOBclan:  A Rich History


Quote from: Unit 33 on November 29, 2014, 03:44:44 AM
'Please, tell me more about the logistics of the design of laser swords being wielded by space wizards' - Some guy on the internet.

Here's what I'm trying to do: Make it to where the player can choose which teams participate in the battle. In order to prevent the map from crashing immediately, I need placeholder classes, and I want those placeholder classes removed once a team is selected for that side. The rest of that equation works fine, it's just getting those placeholders to go away.