Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
shaggai
Senior Member
Volunteer Data File Author
 
Join Date: May 2005
Location: Matawan, NJ, USA
Posts: 158

Old October 22nd, 2014, 01:11 PM
Question: In the 40K files we started to make use of the drag-and-drop mechanic. The problem that we are facing at the moment is the need of a unit to take on either a tag or stat which can be used to identify that it has been dropped into a specific unit, so then that unit can be modified.

At the moment it looks like units which have been dropped into another unit are simply there, there seems to be no child/parent relationship between the two.

Is this something that is possible of would this take a new iteration or major build of AB to accomplish?

CASH FOR THE CASH GOD!!! MORE COINS!!! MORE COINS!!!
shaggai is offline   #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old October 23rd, 2014, 09:30 AM
Look into using the "squad tags" mechanism - I believe you should be able to define "squad tags" on your units that apply to all units in the same squad. You can then code things like "If I'm in a squad with unit X, do A; if I'm in a squad with unit Y, do B; etc".
Colen is offline   #2 Reply With Quote
Homer S
Senior Member
Volunteer Data File Author
 
Join Date: Apr 2009
Posts: 134

Old October 23rd, 2014, 07:20 PM
Yes!

Once I figured out how to make the squad tags, I created a global linkset to add an option with eval that assigns a tag to the unit if it's squad has a certain tag. I can then make logic work on that assigned tag, such as checking if the dropped unit is legal for the squad. I had to exclude the squad itself since it would get tagged as well.

Homer

The only "hobby" GW is interested in is lining their pockets with your money.
Homer S is offline   #3 Reply With Quote
Harkan_again
Senior Member
 
Join Date: May 2012
Posts: 206

Old October 25th, 2014, 04:58 AM
That's useful to know - am looking to use the squads mechanism for Hail Caesar, Black Powder and Pike & Shotte too - the only barrier is the ordering of things so that when you drop a squad into the container unit it doesn't end up at the top of it by accident then all is good to go!

My own Warlord Games gallery and the home of the Warlord Games datafiles:

http://www.facebook.com/ABDataFileWarlordGames
Harkan_again is offline   #4 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 12:36 AM.


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