Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Mathias,
How do I get a bootstrapped thing to autoequip itself if the thing its bootstrapped to is equipped? RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
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. |
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2011
Location: Nowhere, Virginia
Posts: 3,633
|
Ok, I will attempt rigging this up.
RavenX Pronouns: She/Her Please do not PM me to inquire about datafiles I coded "for personal use" such as Exalted, World of Darkness, AD&D, or Warhammer 40K Roleplaying. I appreciate your interest, but I do not own the Intellectual Property rights to these game systems. Nor do I have permission from any of the Publishers to distribute the data files. As such, I cannot distribute the work I have done with community on these files. They are "for personal use" only. Thank you. I am far too busy these days to answer emails. If you message me here there is no guarantee I will get back to you at all. |
#3 |
|
|