• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Automatic custom text field entry via scripts!

bodrin

Well-known member
Is there a way to have text from an existing mechanism such as a feat or a skill, inject it's description text into any of the text boxes on the tab selections of the character sheet.

For example say I want to know at what level I took a particular feat and record it in a journal entry automatically because I can't be bothered to type the entry manually, when I select the feat it takes the name and the level from the selection screen and writes it into the journal text box via a script.
Or is that beyond the capabilities of the program?
 
it sounds like you want to do some dynamic use of the text, have it in one spot and point to it several times from within the scripts. i dont think HL is capable of doing that.

although i am not sure why would need to type in the text in multiple locations. I've only had to do it once for each item.
 
A similar recommendation I made was on the Feat tab and on the class abilities on the Class tabs, having HL request level taken as a text field. Then when displaying the feat or the class ability, you see clearly the level it was taken. By level I mean text such as this:
"Human Bonus"
"1st Level Feat"
"Fighter 1 Bonus"
"Rogue 2 Talent"

As it is now, I put character build info into the journal text fields and it prints (scattered) out on the journal. This makes it much harder (and requires me to keep track in a text file a line by line / level by level build for reference) to track what was taken when.
 
It's not the journal i'm after, that was just an example of a greater usage.

Technically I want to be able to assign the name of Custom data to a text box that already exists in the core program.

Similar to the Weapon Focus feat. If it was possible to take the name of the chosen weapon and broadcast it to the text box so it automatically fills the field.

Example 2 := Create custom magic weapon

Base item +2 (Drop down box)
Weapon Type Atlatl Spear (Drop down box)
Material Used Darkwood (Drop down box)
Custom item name (Text field)

If I cant be bothered to type a name in the box i'd like the choices i've made to fill out the text box instead.

So the above weapon would say +2 Atlatl Spear Darkwood in the custom item name box with the option to rename it still available if desired.

Hope this explains better!!
 
Any thoughts on this?
Just curious!

Is there a way of getting a text box already present in the editor to automatically display selected text from elsewhere.

Another example of goal provided below

Create a cleric select the alignment of the Deity and enter a name in the deity text box.

If I create a data file containing the Deities and their respective alignments and use them in a selection box is it possible to take the Alignment and Name from my custom data and add it to the Deity text box on the Cleric tab plus also setting the Alignment selector correctly?
 
I am doubting this is possible. the text would all need to be placed in to variables before they could be re-used in another part of the code. i dont think this is done for much of the text now.

bu ti could be wrong, lol.
 
Back
Top