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)
-   -   Removing tags from a bootstrapped item (http://forums.wolflair.com/showthread.php?t=58816)

RavenX July 21st, 2017 04:05 PM

Removing tags from a bootstrapped item
 
Mathias,

How do I get a bootstrapped thing to autoequip itself if the thing its bootstrapped to is equipped?

Mathias July 22nd, 2017 09:25 AM

You'll need two different "we're equipped" fields - one is a user field, and is the one actually changed by the user - grUsrEquip is the Id I would use.

The second is a derived field (keep using grIsEquip for this, to minimize the number of other scripts that need to be changed) - in an early script, just before any bootstrap conditions that are looking for whether something is equipped, that field sets its value - usually, it just equals the user field, but in various circumstances, it sets a different value.

In cases like this, where you're allowing a script to control whether an item is equipped, you should hide or disable the equip checkbox on that item - otherwise, the user will try equipping and un-equipping the item, and not see anything change.

RavenX July 22nd, 2017 04:24 PM

Ok, I will attempt rigging this up.


All times are GMT -8. The time now is 11: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.