UnitIconMask

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

UnitIconMask

Post by enric »

Icons mask 4 and 16 are never used? (inverted red triangle and the yellow circle).

In case of yes, can I use them form mod purposes without interfering, or being overwritten by newest BA versions?
pipfromslitherine
Site Admin
Site Admin
Posts: 9886
Joined: Wed Mar 23, 2005 10:35 pm

Re: UnitIconMask

Post by pipfromslitherine »

You can now have up to 16 different icons so there should be plenty of space for custom ones that we are unlikely to come along and confiscate :)

Cheers

Pip
follow me on Twitter here
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Re: UnitIconMask

Post by enric »

How they are accesed?

bit 256, 512, etc...?
pipfromslitherine
Site Admin
Site Admin
Posts: 9886
Joined: Wed Mar 23, 2005 10:35 pm

Re: UnitIconMask

Post by pipfromslitherine »

Correct. Value 256 will access bit 8, etc.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Modders Corner”