Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old October 25th, 2017, 04:33 AM
Not a big deal, but I want to try and edit the livename for a custom magic item.

First is the Ap (Armor Piercing) - I want it to appear from Ap to AP.

Second switch the order of the user chosen (the firearm) and the Ammo (the base weapon chosen when creating the custom magic item).

Final 10000

field[sbName].text = uppercase("AP, ") & field[usrChosen1].chosen.field[shortname].text
field[livename].text = uppercase("AP, ") & field[usrChosen1].chosen.field[shortname].text

I know it's kind of nit-picking, but thank you.
Attached Images
File Type: jpg Untitled.jpg (345.0 KB, 4 views)
File Type: jpg Untitled2.jpg (326.0 KB, 4 views)

Last edited by Frodie; October 25th, 2017 at 05:01 AM.
Frodie is offline   #1 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old October 25th, 2017, 10:17 AM
I also tried, but no luck switching the weapon and the ammo name

field[sbName].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text
field[livename].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text
Frodie is offline   #2 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 25th, 2017, 12:24 PM
Quote:
Originally Posted by Frodie View Post
I also tried, but no luck switching the weapon and the ammo name

field[sbName].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text
field[livename].text = "AP, " & container.parent.field[livename].text & field[usrChosen1].chosen.field[shortname].text
Final is probably too early, try late in the Render phase, perhaps?
Aaron is offline   #3 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old October 25th, 2017, 01:25 PM
Well it does seem like a timing issue. Render 999999 is too late and Render 10000 is all kinds of crazy, lol. Any ideas on the timing? and Thank you!
Frodie is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old October 26th, 2017, 09:07 AM
Custom magic weapons build their livename and sbName at Render 110000, so shortly after that perhaps?
Aaron is offline   #5 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old October 26th, 2017, 09:43 AM
Thank you!
Frodie is offline   #6 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 03:57 PM.


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