Help with a code
Ok, trying to create a thing that replaces an Initiator discipline with another. Got the thing that adds the new discipline but having trouble removing the selected discipline
Code:
var disc as string |
Can there be multiple User.? tags on the pick you are working with (or none at all)?
The delete[] and deletestr[] target references expect a tag template with just one group.tag in it, potentially with a wildcard to allow matching similarly named tags. So if your tagids[User.?] ever returns a string with multiple tags or an empty string if there are no matching tags, using that string as the tag template for deletestr[] will result in the error you are seeing. If the tag has no wildcards and doesn't match an existing tag, you will get a different "Tag [...] not defined" error message. |
put in the line "debug disc" in your code. You can then see what it is by opening up floating debug window "Show Debug Output".
Also, I wonder if you intended to delete "repl" instead of "disc". I'm not sure you really need a second variable here, but from this code snippet you seem to be setting the variable repl but not using it. |
Quote:
Apparently, AllowCust also comes back with an invisible tag for its own thing. For example, a Warblade has AllowCust for each of its disciplines, but also for cWarblade naturally. It would pull that and get an invalid tag when processed. |
Was this figured out? I was hoping to make the Vigilante variant for stalker that uses Int instead of Wis for Initiator discipline
|
All times are GMT -8. The time now is 02:25 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.