Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Please expand on what you mean by "using !BloodEner.Acid" - it's best to see the whole expression in cases like this.
|
#11 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Sorry.
I've got the Select From set to Energy Type. If I don't have anything in the Custom Expression, I get the following list in the dropdown: Acid Cold Electricity Fire Sonic That's the same no matter if I have the Restrict to None, Container or Hero. I need the dropdown to be just: Cold Electricity Fire Sonic I thought by adding !BloodEner.Acid to the Custom Expression, that that would exclude Acid from the selection dropdown but it doesn't. If I use '(BloodEner.Cold|BloodEner.Elec|BloodEner.Fire|Blo odEner.Soni)' as the Custom Expression and don't have Select From set to Energy Type, I get the Energy Types, but I also get all the Creatures, etc with those types in the dropdown. If I use: Component.Energy & (BloodEner.Cold|BloodEner.Elec|BloodEner.Fire|Bloo dEner.Soni) I get nothing to Select from. Does that help? Thanks! TC |
#12 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Select From and Custom Expression are mutually exclusive - Select From works by overwriting the Custom Expression with an expression from a hard-coded list of expressions.
It's component.SelectHelp, not component.Energy, but otherwise you were on the right track for your custom expression. You can find that by going to the Develop menu...Floating Info Windows...Show Selection Tags, and then find the energy type selection helpers (note that there are two things there named "Acid" - one is the acid selection helper, the other is the [Acid] spell descriptor. |
#13 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
Thanks Matthias!
This is what I changed it to: component.SelectHelp & (BloodEner.Cold|BloodEner.Elec|BloodEner.Fire|Bloo dEner.Sonic) However, While the Acid isn't present, I still get: Air Blue Dragon (Electricity) Brass Dragon (Fire) Bronze Dragon (Electricity) Cold Electricity Fire Fire Gold Dragon (Fire) Red Dragon (Fire) etc... Seems like I still need to add something.... Thanks! TC |
#14 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The "Energy Type" option for Select from adds the following Custom Expression:
Code:
component.SelectHelp & Selection.Energy |
#15 |
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,321
|
That's exactly what I needed, thanks!
Works just right now... |
#16 |
|
|