Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
TCArknight
Senior Member
 
Join Date: Jan 2007
Location: NW Arkansas
Posts: 1,216

Old August 13th, 2020, 07:06 PM
Ok, here's the situation I need some help with.

1) I have a vehicle that can be in one of two forms (Mode.A and Mode.B) which are separate vehicles.
2) I have a vehicle Modification that bootstraps a weapon to the vehicle but only if it's Mode.B.

I can get the Mode.A/B tag with perform container.parent.pulltags[Mode.?]. This gets the Mode.? onto the Modification (which is the one doing the bootstrap of the weapon).

However, I'm at a loss to use that tag as the condition of the bootstrap. I tried just <containerreq phase="Initialize" priority="2100">Mode.B <> 0</containerreq> but no luck. I know hero#Mode.B <> 0 won't work. What am I missing?

Any help would be appreciated.

Thanks!
TC

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
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,794

Old August 14th, 2020, 08:05 AM
When containerreqs are looking for a tag, they're looking for it in their container. So


perform parent.pulltags[Mode.?]
perform container.pushtags[Mode.?]


(having to use container.parent to get to the parent is a leftover of an old bug where it didn't let you get there directly).
Mathias is online now   #2 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 01:00 PM.


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