Guest
Posts: n/a
|
Searching through the archives, I couldn't find anything that related
to what I'm trying to do. So, maybe someone has a suggestion . . . I have a generic character who is selected at runtime; his army has no allies. But, he can pick a magical item that allows allies. So what I want to do is to have the Allies list repopulated with the race which the magic item will allow him to recruit. Other than that, I want that entire race to be hidden. As an example, all players can build only human armies. By taking a magic book of summoning (item), the player will now be allowed to add demons (from a list of demonic units) to his army. So, how do I structure the definition of the magic item to repopulate the list of allies at runtime? Thanks. To unsubscribe from this group, email armybuilder-unsubscribe@yahoogroups.com Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/armybuilder/ To unsubscribe from this group, send an email to: armybuilder-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
At 05:54 AM 1/21/2004, you wrote:
>Searching through the archives, I couldn't find anything that related >to what I'm trying to do. So, maybe someone has a suggestion . . . > >I have a generic character who is selected at runtime; his army has >no allies. But, he can pick a magical item that allows allies. So >what I want to do is to have the Allies list repopulated with the >race which the magic item will allow him to recruit. Other than >that, I want that entire race to be hidden. > >As an example, all players can build only human armies. By taking a >magic book of summoning (item), the player will now be allowed to add >demons (from a list of demonic units) to his army. > >So, how do I structure the definition of the magic item to repopulate >the list of allies at runtime? I don't think you can. The only way (IIRC) that you can add allies is through the 'ally:' race attribute, which can only depend on the mode, race, and so forth. The only way I can see of doing what you need is always allowing the 'Horrible Demon' race to be taken as allies, but then throwing up a validation error if any 'Horrible Demon' units are taken without the 'Magic Book of Summoning'. Hope this helps, -- Colen McAlister (colen@wolflair.com) Lone Wolf Development www.wolflair.com To unsubscribe from this group, email armybuilder-unsubscribe@yahoogroups.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3ex...sNAA/IMSolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/armybuilder/ To unsubscribe from this group, send an email to: armybuilder-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
#2 |
Guest
Posts: n/a
|
Figured that's what I'd have to do, although it isn't as elegant a
solution as I'd like. I got motivated to try it when I figured out how to have categories of items appear and disappear from the drop- down list by adding or subtracting other items. Oh well. --- In armybuilder@yahoogroups.com, Colen McAlister <colen@w...> wrote: > At 05:54 AM 1/21/2004, you wrote: > >Searching through the archives, I couldn't find anything that related > >to what I'm trying to do. So, maybe someone has a suggestion . . . > > > >I have a generic character who is selected at runtime; his army has > >no allies. But, he can pick a magical item that allows allies. So > >what I want to do is to have the Allies list repopulated with the > >race which the magic item will allow him to recruit. Other than > >that, I want that entire race to be hidden. > > > >As an example, all players can build only human armies. By taking a > >magic book of summoning (item), the player will now be allowed to add > >demons (from a list of demonic units) to his army. > > > >So, how do I structure the definition of the magic item to repopulate > >the list of allies at runtime? > > I don't think you can. > > The only way (IIRC) that you can add allies is through the 'ally:' race > attribute, which can only depend on the mode, race, and so forth. The only > way I can see of doing what you need is always allowing the 'Horrible > Demon' race to be taken as allies, but then throwing up a validation error > if any 'Horrible Demon' units are taken without the 'Magic Book of Summoning'. > > Hope this helps, > > > -- > Colen McAlister (colen@w...) > Lone Wolf Development www.wolflair.com To unsubscribe from this group, email armybuilder-unsubscribe@yahoogroups.com ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/mOAaAA/3ex...sNAA/IMSolB/TM ---------------------------------------------------------------------~-> Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/armybuilder/ To unsubscribe from this group, send an email to: armybuilder-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
#3 |
Guest
Posts: n/a
|
What you can do is add validation that will show an error if the user
attempts to add a certain type of unit without taking the item that gives them access to it. As far as adding/removing units from sight in the list of available units while you're in the middle of creating the roster that's not possible; they're either available or not. Mark --- jizbrand <fusilier@kc.rr.com> wrote: > Searching through the archives, I couldn't find anything that related > to what I'm trying to do. So, maybe someone has a suggestion . . . > > I have a generic character who is selected at runtime; his army has > no allies. But, he can pick a magical item that allows allies. So > what I want to do is to have the Allies list repopulated with the > race which the magic item will allow him to recruit. Other than > that, I want that entire race to be hidden. > > As an example, all players can build only human armies. By taking a > magic book of summoning (item), the player will now be allowed to add > demons (from a list of demonic units) to his army. > > So, how do I structure the definition of the magic item to repopulate > the list of allies at runtime? > > Thanks. > > ===== WF6 Army Builder File Manager Direwolf FAQ Council - Army Builder Liaison - Warhammer Club - Vancouver, BC http://www.WCP-Vancouver.com __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus To unsubscribe from this group, email armybuilder-unsubscribe@yahoogroups.com Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/armybuilder/ To unsubscribe from this group, send an email to: armybuilder-unsubscribe@yahoogroups.com Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/ |
#4 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Allies | TheRyan | Warhammer 40,000 | 1 | July 10th, 2008 12:20 PM |
Dynamically( -ish!!) changing the name of a roster | dom at wendndom.karoo.co. | Army Builder | 2 | February 25th, 2005 05:20 PM |