View Single Post
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old August 31st, 2007, 10:42 AM
At 09:01 AM 8/31/2007, you wrote:
Quote:
Your solution works beautifully. One more question. Is there a way to combine multiple "bonus languages" into a single script statement? What you suggested above works just fine, I simply need to enter multiple scripts and increment the index value so they aren't seen as redundant. However, it seems like there ought to be a more elegant way to handle assigning multiple bonus languages in one script. Then again, I've been wrong before.
You can assign any number of tags in the same script, so assigning access to three optional languages for a given region in a single script would look like the following:

var result as number
result = hero.assign[Language.lGnothic]
result = hero.assign[Language.lLang2]
result = hero.assign[Language.lLang3]

.....continue as necessary

-Rob
rob is offline   #7 Reply With Quote