Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Palgar
Junior Member
 
Join Date: Nov 2013
Posts: 10

Old June 11th, 2024, 08:49 PM
Is the {macro macroname} implemented in encoded text? If so, what is the proper syntax to call it.

I'm trying to use the {macro macroname} to include custom bullet points in some description texts.
Palgar is offline   #1 Reply With Quote
Dami
Senior Member
 
Join Date: Mar 2013
Location: Melbourne, Australia
Posts: 1,109

Old June 11th, 2024, 11:28 PM
This might help you... From the A-Kit wiki:
{macro name} Looks for the macro with the unique id given by name and processes the contents of that macro as if it were found in the text instead. This means that macros MAY include encoded text that will be properly processed when the macro is evaluated.

Current RPG's: Pathfinder (GM), Pathfinder (Player), Gamma World (GM, Pathfinder homebrew).
HeroLab: 3.5 & Pathfinder. HL User Files for PF: Greyhawk Setting, Gamma World (WIP).

DM and player of D&D since 1980.
Dami is offline   #2 Reply With Quote
Palgar
Junior Member
 
Join Date: Nov 2013
Posts: 10

Old June 12th, 2024, 10:33 AM
Ok, but is this a <scriptmacro> or something else. I've tried this:

.def file
<scriptmacro
name="bCross"
result="{meta bmpfull}{bmp ico-cross} "/>

.dat file
<thing
id="attrAgility"
name="Agility"
compset="Attribute"
isunique="yes"
description="{macro bCross} Agility is a mixture....">
<fieldval field="trtAbbrev" value="AGI"/>
<tag group="explicit" tag="2"/>
<tag group="HeroType" tag="PC"/>
<tag group="Helper" tag="StartValue6"/>
</thing>

and receive this:
The following undefined macros...<remainder of error message in unused dialog>

Macro: bCross
Palgar is offline   #3 Reply With Quote
Reply


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 05:01 AM.


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