Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
bodrin
Senior Member
 
Join Date: Feb 2007
Location: Nottinghamshire, United Kingdom
Posts: 1,265

Old January 10th, 2017, 02:44 PM
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 ......
This just throws an error message. What am I not seeing?

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
bodrin is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,782

Old January 10th, 2017, 02:46 PM
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.
Mathias is online now   #2 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 02:08 PM.


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