Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Authoring Kit (http://forums.wolflair.com/forumdisplay.php?f=58)
-   -   Equipment held by a container (http://forums.wolflair.com/showthread.php?t=66906)

RavenX April 1st, 2022 03:22 PM

Equipment held by a container
 
Is there a tag built into the authoring kit that applies when an object is stored in a container?

Like say I had a sack and put a torch in it, would the torch get a tag saying it was stored in the sack?

Mathias April 1st, 2022 03:29 PM

There's no automatic tag, but there is a script reference:

isgearheld

http://hlkitwiki.wolflair.com/index....get_References

So if you specifically needed a tag (for a tag expression, for example), you could write a script in the Gear component (or whatever's appropriate) to check that, and if it's true, assign a tag.

RavenX April 1st, 2022 04:17 PM

Thank you, that was just what I needed.


All times are GMT -8. The time now is 05:53 AM.

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