Member
Join Date: Aug 2012
Posts: 72
|
Script question ?
How can I generate a carriage return in a script string Field[CustDesc].text = "1: test" I would like this script to generate this: 1: test instead of 1:test |
#1 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Not sure on this one myself; tried just putting a carriage return after the colan by hitting <enter> on the keyboard?
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#2 |
Member
Join Date: Aug 2012
Posts: 72
|
then the script doesn't compile, I have tried /n but nono doesn't work
|
#3 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
http://hlkitwiki.wolflair.com/index....age_Statements
Check the Append command. @newline or possibly <br> Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#4 |
Member
Join Date: Aug 2012
Posts: 72
|
found, must use formatting tag {br}
so I tried: /n -> no <br/> -> no {br/} -> no {br} -> yes !!! |
#5 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
Added it to my growing list of useful scripting info.
Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Encoded text page from the HL Wiki.
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. |
#7 |
Senior Member
Join Date: Sep 2012
Location: Ottawa, Canada
Posts: 788
|
ShadowChemosh:
It's absolutely amazing what you CAN"T find using Google. Watch your back, Conserve your ammo, and NEVER cut a deal with a dragon! |
#8 |
Member
Join Date: Aug 2012
Posts: 72
|
I have to print that
|
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Yes! In this case because while I love LW stuff the "words" they use for things is often very strange (ie bootstrap, Things, Picks, Gizmo, Entity, etc...). Making it hard to find sometimes.
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. |
#10 |
|
|