Lone Wolf Development Forums  

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

Notices

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

Old October 24th, 2017, 05:54 AM
I am trying to get a correct tracking for an item power's child. I am trying to add a power to an ammo stack of 50. All is fine, but I noticed when the ammo (with a normal stack of 50) is added as a custom magic weapon, it seems to default the stack to 1. Is there a way around that?

Render 5500

container.parent.field[trkMax].value = container.child[gCustMagic].field[trkMax].value

Last edited by Frodie; October 24th, 2017 at 05:58 AM.
Frodie is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 24th, 2017, 07:18 AM
You're changing a field's value in the render phase? That's really late - won't everything be done by then?
Mathias is offline   #2 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old October 24th, 2017, 07:27 AM
I was thinking it was the timing, but when I was looking at the timing, I saw the trk field on the ammo in the custom magic was only 0. Which is different when you just get the normal ammo under weapons.

Last edited by Frodie; October 24th, 2017 at 07:33 AM.
Frodie is offline   #3 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 24th, 2017, 07:41 AM
I'm sorry, but I don't understand what your last post is trying to say.

Have you seen the new debug tools for timing issues - you can now see when individual fields changed. So, when is trkMax being set on the pick you want to look up? Try setting your timing close behind that.
Mathias is offline   #4 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old October 24th, 2017, 07:58 AM
I attached a screenshot. The "Ammo, 45 cal" normally has a quantity of 50, but when you add it as a Custom Magic Item, the quantity drop to 1.
Attached Images
File Type: jpg Untitled1.jpg (354.0 KB, 5 views)
Frodie is offline   #5 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old October 24th, 2017, 08:21 AM
Take a look at arrows in the editor - see two different versions, one for use as normal ammo, and the other for use as magic ammo? You've done the same for your new ammo, and used the same settings?
Mathias is offline   #6 Reply With Quote
Frodie
Senior Member
 
Join Date: May 2007
Location: Durham, NC
Posts: 1,747

Old October 24th, 2017, 08:34 AM
ah, cool. I'll give it a look. Thank you.

I see, you have to have two different types, one non-magical and the other magical. But your choice of magical lot size in only 1 or 50. Not a big deal, I can just change all the lot sizes to 50 and it will work out. Thanks again!

Last edited by Frodie; October 24th, 2017 at 08:51 AM.
Frodie is offline   #7 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 12:42 PM.


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