MrMilli 0 Posted January 1, 2003 Need another set of eyes to take a look at this, I'm just picking this stuff up, so as a start i'm trying to group BIB's new UK RM units. This is what I've got at the moment, which isn't working. </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgGroups { class West { name="$STR_WEST"; class bibukgrp { name="BIB UK Infantry"; class BIBUK { name="Royal Marine Section"; class Unit0 { name="1"; side=1; vehicle="bib_royalmdpm_o"; rank="Sergeant"; position[]={0,5,0}; }; class Unit1 { name="2"; side=1; vehicle="bib_royalmdpm_s"; rank="Corporal"; position[]={-10,0,0}; }; class Unit2 { name="3"; side=1; vehicle="bib_royalmdpm_s"; rank="Corporal"; position[]={10,0,0}; }; class Unit3 { name="4"; side=1; vehicle="bib_royalmdpm_x"; rank="Private"; position[]={15,0,0}; }; class Unit4 { name="5"; side=1; vehicle="bib_royalmdpm_z"; rank="Private"; position[]={-15,0,0}; }; class Unit5 { name="6"; side=1; vehicle="bib_royalmdpm_g"; rank="Private"; position[]={20,0,0}; }; class Unit6 { name="7"; side=1; vehicle="bib_royalmdpm"; rank="Private"; position[]={-20,0,0}; }; class Unit7 { name="8"; side=1; vehicle="bib_royalmdpm"; rank="Private"; position[]={25,0,0}; }; class Unit8 { name="9"; side=1; vehicle="bib_royalmdpm"; rank="Private"; position[]={25,0,0}; }; class Unit10 { name="9"; side=1; vehicle="bib_royalmdpm"; rank="Private"; position[]={25,0,0}; }; }; }; }; <span id='postcolor'> So, any idea's, at the moment its not showing up in the groups box at all. Share this post Link to post Share on other sites
sasyboy 0 Posted March 19, 2006 aye work on your indention Share this post Link to post Share on other sites
Planck 1 Posted March 19, 2006 Ok, One or two things here. 1./ You need another '};' at the end. 2./ Units 7, 8 and 10 are all set to occupy the same space. position[]={25,0,0}; This shouldn't be too much off a problem, it will just look messy. 3./ Units 8 and 10 both have the same name. name="9"; 4./ What happened to poor unit 9? Planck Share this post Link to post Share on other sites
h - 169 Posted March 20, 2006 Don't you guys realise you're replying a topic over 3 years old Quote[/b] ]Posted on Jan. 01 2003,19:45 Or am I missing something Share this post Link to post Share on other sites
Planck 1 Posted March 20, 2006 Quote[/b] ]Or am I missing something No, HK its me that was missing something. I didn't check the date of the first post. I only checked the date of the last post. Never mind.......it might help someone else......maybe.......possibly. Planck Share this post Link to post Share on other sites
sasyboy 0 Posted March 28, 2006 I know it was old. It was relivent to my search and my reply will hopefully hint to people that indentation is important to make things readable. Share this post Link to post Share on other sites