Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
stubbdog
Member
 
Join Date: Dec 2006
Posts: 54

Old December 28th, 2006, 05:03 AM
Ok Trying to keep this as generic as possible (not game specific) to try and see if someone can help.

I am trying to make an over ride rule that says if the roster is a particular RACE and the LEADER of a SQUAD is a particular character, then all units of TYPE A in his squad have their type changed to a TYPE B.


I would love to make it a roster level rule, but figured to at least get it working from the unit level side.

So my override script is:

(roster.race1 | roster.race1a) & runtime.leader.is[leaderuniqueID]

And its giving me errors. My problem is, I dont know what the correct tag to use for this.

Can anyone provide a suggestion?
stubbdog is offline   #1 Reply With Quote
stubbdog
Member
 
Join Date: Dec 2006
Posts: 54

Old December 28th, 2006, 05:06 AM
have also tried:

(roster.race1 | roster.race1a) & runtime.leader.isunit[leaderuniqueID]
stubbdog is offline   #2 Reply With Quote
stubbdog
Member
 
Join Date: Dec 2006
Posts: 54

Old December 28th, 2006, 05:32 AM
Other tries that did not work:

(roster.crusader | roster.c_justice) & (runtime.tagvalue[leader] = cr14068)

(roster.crusader | roster.c_justice) & (tagvalue[runtime.leader] = cr14068)

(roster.crusader | roster.c_justice) & (runtime.leader.tagis[gerard]) (where I had manually assigned a tagset on unit cr14068 of gerard).
stubbdog is offline   #3 Reply With Quote
Russell
Senior Member
Volunteer Data File Author
 
Join Date: Mar 2005
Location: Australia
Posts: 254

Old December 28th, 2006, 12:49 PM
I think I've already got a workaround for that rule in the Crusader file I was working on - I'll let you know in a few days.

Russell
Russell is offline   #4 Reply With Quote
stubbdog
Member
 
Join Date: Dec 2006
Posts: 54

Old December 28th, 2006, 02:02 PM
much appreciated if you do, but I still need to learn the concept of some of these things. I have the logic on most of them, just dont know the correct tags, expressions, scripting, what have you...

Jason
stubbdog is offline   #5 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 11:17 PM.


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