.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old November 20th, 2011, 06:07 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,994
Thanks: 488
Thanked 1,928 Times in 1,254 Posts
Mobhack is on a distinguished road
Default Re: Reassigning units

Units don't have a "number" - they are numbered in the sequence they appear in the list of 500 units. Formations are also listed in order of the master list. The list is basically an ordinary C++ array.

Sometimes there may also be a gap in the list - due to removal of a formation, or deletion of units. The insertion of a new unit into a vacant slot way up the list sometimes will do odd things to numbering as well.

It is structural with the way the original SSI code was written.

Also - the formation command unit is not always the 0th unit, in a campaign, if the command unit was killed and another of the formation took over.

Cheers
Andy
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 11:04 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.