View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old February 3rd, 2018, 02:51 PM
Quote:
Originally Posted by Duggan View Post
Right. And it's the "compare" function to compare strings. Setting up the if/elseif.
Comparing strings is really dangerous in any language but especially for HL because is CPU intensive. I mean you sure the name is never ever going to change in any way including capitalization? Can't you add a Tag to look at instead?

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #5 Reply With Quote