Senior Member
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265
|
Hi guys,
I'm trying to script a test against a weapon which belongs to the fighter group Heavy Blades and is Two Handed. I've constructed a script which will test for each thing separately but can't seem to get the right hand expression correctly. Code:
If (field[pChosen].chosen.tagis[wFtrGroup.HeavyBlades] | [wClass.TwoHanded] <> 0) Then ...... Dormio Forte Somnio Community Created Resources : Data Package Repositories : d20pfsrd Custom Character Sheets Community Server Setup (Packs) Hero Lab Help- Video Tutorials and Pathfinder FAQ Created by the community for the community
|
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Use tagexpr[] instead of tagis[] in order to test for a tag expression. Tagis can only perform a simple test on a single tag.
Also, don't close the square brackets until you're done with the entire tag expression. |
#2 |
|
|