Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Authoring Kit


Thread Tools Display Modes
Prev Previous Post   Next Post Next
Senior Member
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,311

Old January 14th, 2018, 08:24 AM

Working on a dataset where each piece of gear can have a number of Qualities. These qualities are contained in a grCustom child on the item.

When I display the Weapon for example on the armory tab, the qualities display without issue. But, when buying a new weapon, the Qualities do not display and I'm getting an error:
This has a gizmo attached.
- - -
Attempt to access non-existent containing entity from script
Location: 'finalize' script for Field 'grQualSumm' near line 11
This is the field and the finalize script:
	  <!-- Final value for display is a blending of the various range values -->
        var txt as string
		var tags as string
		var ismore as number
	~if this is a thing, we have to pull the tags from any attached gizmo
        if (ispick = 0) then
          if (isgizmo = 1) then
		    notify "This has a gizmo attached."
		    ismore = 0
		    foreach pick in gizmo where "component.GearQual"
			  if (ismore <> 0) then
			    tags &= ", "
			  tags = eachpick.tagnames[ItemQual.?,", "]
			  ismore = 1
		  tags = tagnames[ItemQual.?,", "] 
		if (empty(tags) = 0) then
		  txt &= " " & tags
		  txt &= "-"
	    @text = txt
Anyone have any idea what I'm missing when trying to step through the gizmo?

Working on -
  • (SWADE) WIP Savage Rifts
  • Savage Rifts (Deluxe): Update link in This post
  • Star Trek Adventures: Update link in This post
TCArknight is offline   #1 Reply With Quote

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 11:06 PM.

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