How can i work with category flags?

How can i work with category flags?

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
slogic
AI Developer
Posts: 626
Joined: 17 Mar 2008, 19:03

How can i work with category flags?

Post 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?
Post Reply

Return to “AI”