Page 1 of 1

How can i work with category flags?

Posted: 05 May 2010, 16:23
by slogic
Some weapon definition properties are of int type, containing flags. For example onlyTargetCategory. But i can't translate "VTOL" to flag because i have no access to
rts\Sim\Misc\CategoryHandler.cpp functions. Importing CategoryHandler.cpp into AI project has no sense because flags are initialized right on their usage by engine. Right?