Guest
Posts: n/a
|
Hello,
Sorry to bother you again. The file I'm working on has a stat depending on the vehicle it could be a + or - modifier. Under Stat Definition "Is Signed?" it says you can display a stat with a + or - modifier. Is it possible to have a single stat able to display a + or - not just one or the other. If so how? TIA Keith |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
ALL stats are inherently able to support both positive and negative values.
The "Is Signed" field specifies that the stat should always be DISPLAYED with a leading "+" or "-" on it. By default, all stats display a leading "-" if they are negative and have NO leading indicator if they are positive. The "Is Signed" field puts a leading "+" in front of the value when positive. Hope this helps, Rob At 06:27 AM 4/26/2001 +0000, you wrote: >Hello, >Sorry to bother you again. > >The file I'm working on has a stat depending on >the vehicle it could be a + or - modifier. > >Under Stat Definition "Is Signed?" it says you can display >a stat with a + or - modifier. Is it possible to >have a single stat able to display a + or - not >just one or the other. If so >how? > >TIA >Keith --------------------------------------------------------------------------- Rob Bowes (rob@wolflair.com) (650) 726-9689 Lone Wolf Development www.wolflair.com |
#2 |
Guest
Posts: n/a
|
Ok, then my problem is how do I indicate a negative or
possitive stat when using abcreator? Thanks Keith --- In armybuilder@y..., Rob Bowes <rob@w...> wrote: > ALL stats are inherently able to support both positive and negative values. > The "Is Signed" field specifies that the stat should always be DISPLAYED > with a leading "+" or "-" on it. By default, all stats display a leading > "-" if they are negative and have NO leading indicator if they are > positive. The "Is Signed" field puts a leading "+" in front of the value > when positive. > > Hope this helps, > Rob > > > At 06:27 AM 4/26/2001 +0000, you wrote: > >Hello, > >Sorry to bother you again. > > > >The file I'm working on has a stat depending on > >the vehicle it could be a + or - modifier. > > > >Under Stat Definition "Is Signed?" it says you can display > >a stat with a + or - modifier. Is it possible to > >have a single stat able to display a + or - not > >just one or the other. If so > >how? > > > >TIA > >Keith > > > -------------------------------------------------------------------- ------- > Rob Bowes (rob@w...) (650) 726-9689 > Lone Wolf Development www.wolflair.com |
#3 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 8,232
|
Er, whatever the value of the stat happens to be? Let's say you have a stat
"Foo". You specify the initial value of that stat to be 1 for a unit (via the unit record in ABCreator). Then you use the "stat" attribute on an equipment option that adjusts "stat:foo-2". This changes the stat value to "-1" and the stat is displayed as "1/-1". Try creating a unit with stat values of -2, -1, 0, 1, and 2. You'll see how AB displays them. NOTE! Make sure that you set the minimum and maximum values in the definition file to something like -10 and 10, respectively. If you set them to zero, you won't see any negative values! Thanks, Rob At 04:24 PM 4/26/2001 +0000, you wrote: >Ok, then my problem is how do I indicate a negative or >possitive stat when using abcreator? > >Thanks >Keith --------------------------------------------------------------------------- Rob Bowes (rob@wolflair.com) (650) 726-9689 Lone Wolf Development www.wolflair.com |
#4 |
Guest
Posts: n/a
|
Thank you very much. I think I understand now
Keith --- In armybuilder@y..., Rob Bowes <rob@w...> wrote: > Er, whatever the value of the stat happens to be? Let's say you have a stat > "Foo". You specify the initial value of that stat to be 1 for a unit (via > the unit record in ABCreator). Then you use the "stat" attribute on an > equipment option that adjusts "stat:foo-2". This changes the stat value to > "-1" and the stat is displayed as "1/-1". Try creating a unit with stat > values of -2, -1, 0, 1, and 2. You'll see how AB displays them. > > NOTE! Make sure that you set the minimum and maximum values in the > definition file to something like -10 and 10, respectively. If you set them > to zero, you won't see any negative values! > > Thanks, Rob > > > At 04:24 PM 4/26/2001 +0000, you wrote: > > >Ok, then my problem is how do I indicate a negative or > >possitive stat when using abcreator? > > > >Thanks > >Keith > > > -------------------------------------------------------------------- ------- > Rob Bowes (rob@w...) (650) 726-9689 > Lone Wolf Development www.wolflair.com |
#5 |
|
|