Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Army Builder Forums > Army Builder

Notices

Reply
 
Thread Tools Display Modes
Bluefool
Member
 
Join Date: Jan 2006
Location: Iowa City, IA
Posts: 78

Old February 9th, 2006, 03:11 PM
Title kind of says it all, I'm trying to figure out how when an option is selected, you can remove another option.

Basically, the unit has a grenade launcher by default. If they take a laser, it replaces the grenade launcher. Creating both options, no problem, but I can't figure out how to get rid of the other one.

And, since I see it coming up, how can an option replace a unit? For instance, if a unit has an option of a suit that changes its unit type, how the heck do you do that?
Bluefool is offline   #1 Reply With Quote
HakujinGrande
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Santa Cruz, CA, US
Posts: 123

Old February 9th, 2006, 03:24 PM
Exclusion groups for the options. Take a look at the docs for details.

Space Marine Maintainer for AB3
Battlefleet Gothic Maintainer for AB3
40K: Space Wolves, 13th Company, Grey Knights, Deathwatch
BFG: Space Marine Fleet, Armageddon Fleet, Tau Fleet
HakujinGrande is offline   #2 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,728

Old February 9th, 2006, 05:35 PM
At 07:11 PM 2/9/2006 -0500, you wrote:

>Title kind of says it all, I'm trying to figure out how when an
>option is selected, you can remove another option.
>
>Basically, the unit has a grenade launcher by default. If they take
>a laser, it replaces the grenade launcher. Creating both options, no
>problem, but I can't figure out how to get rid of the other one.


Make an exclusion group called "Weps" (or something) with a minimum
of 0 and a max of 1. Set the grenade launcher option to use "Weps" as
its Remainder group (the Remainder option on the link editing form).
Then set the laser to take up 1 "Weps" slots.


Now, when the laser isn't selected, the grenade launcher will be
selected by default. When the user selects the laser, the grenade
launcher gets deselected.


Hope this helps.



--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/
Colen is offline   #3 Reply With Quote
Bluefool
Member
 
Join Date: Jan 2006
Location: Iowa City, IA
Posts: 78

Old February 10th, 2006, 08:41 AM
Heh,

"Hope this helps."

That was an exact walk through of what I was trying to do . I had to kill some child links, but it works the way I want it to now, thanks to both of you for getting me pointed the right way on that one!
Bluefool is offline   #4 Reply With Quote
ChainsawXIV
Member
 
Join Date: Oct 2005
Posts: 39

Old March 16th, 2006, 08:27 PM
Heya I'm trying to do this same thing, but I receive an error (when I load up AB) after using the instructions above which seem otherwise to be right on target. The error reads:

"Remainder link references option with evaluation script for option 'Shield' on unit 'vcSkelWar'"

Shield is my exclusion group, and vcSkelWar is the unit Im working on. Color me a newb, but I just don't see what I'm doing wrong here, or where the offending script referenced in the error dwells. Any help for me?

Thanks.

[EDIT] Never mind... found the root of my problem. Fear my newbyness
ChainsawXIV is offline   #5 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,005

Old March 20th, 2006, 04:14 AM
When you designate any option as the "remainder" and that option has an Evaluate script of ANY contents, the compiler will issue the error you cite below. Options that are treated as a remainder may NOT have any Evaluate script, and this detail is outlined within the docs. You need to check the option "Shield". It must have some sort of Evaluate script (e.g. to apply an armor adjustment), which is illegal with a remainder option.

There should be examples of this, along with suggestions on other ways to solve the problem, in the Kit docs.

Hope this helps,
Rob


At 09:27 PM 3/16/2006, you wrote:

Quote:
Heya I'm trying to do this same thing, but I receive an error (when I load up AB) after using the instructions above which seem otherwise to be right on target. The error reads:

"Remainder link references option with evaluation script for option 'Shield' on unit 'vcSkelWar'"

Shield is my exclusion group, and vcSkelWar is the unit Im working on. Color me a newb, but I just don't see what I'm doing wrong here, or where the offending script referenced in the error dwells. Any help for me?

Thanks.
rob is offline   #6 Reply With Quote
Reply

Thread Tools
Display Modes

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 Off

Forum Jump


All times are GMT -8. The time now is 05:20 PM.


Powered by vBulletin® - Copyright ©2000 - 2019, vBulletin Solutions, Inc.
wolflair.com copyright 1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.