Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
saintaurik
Member
 
Join Date: Oct 2013
Posts: 46

Old August 31st, 2014, 04:55 AM
HI I searched the forums I just didn't happen to see anything about how to do this. I have an item that allows the players to speak and read dwarven and dwarf runes as long as they have it on.

Any idea how I would be able to add the language to the characters language list of known languages?

Any help would be great thanks in advance!
saintaurik is offline   #1 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old August 31st, 2014, 07:19 AM
Add the following code to the item in the Editor and make sure it is activated when it is equipped on the character.

Code:
doneif(field[gIsEquip].value = 0)

herofield[tLangsSpk].value += 1
That will give the character the additional language, which you could then either 1) simply choose and add the language normally or 2) bootstrap the language directly to the item. If you bootstrap it, it will appear on the character as a language, so you will have to set the condition in the bootstrap to check if the item is on.

Code:
fieldval:gIsEquip <> 0
This is the general idea. I've not tested it though. Let me know if it needs 'tweaking'.
Kendall-DM is offline   #2 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:20 PM.


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