Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   hl editor: how to script condition to not show something again? (http://forums.wolflair.com/showthread.php?t=65225)

tahltwo December 25th, 2020 11:48 AM

hl editor: how to script condition to not show something again?
 
.
for example:

- aasimar: racial language, celestial
- custom template: celestial language is default
- custom class: celestial language is default on an ability

when all active, showing "celestial" language thrice.

or what "thing" should i review to reverse engineer?

thx

Minous December 25th, 2020 12:31 PM

Before adding the language check if the character already knows it.

tahltwo December 25th, 2020 12:38 PM

Quote:

Originally Posted by Minous (Post 292504)
Before adding the language check if the character already knows it.



no, this is not a manual add of language.


- start pc off with a template (language added)
- select pc race (language added a 2nd time)
- select pc class (language added and shown 3 times in stats)


each happens to have the same language as part of default. get it?

Minous December 25th, 2020 12:47 PM

Can you provide a more precise example? IE what Race/Class/Template ?

What I was referring to is in your custom template/class do a check to see if the language already exists before adding it again.

tahltwo December 25th, 2020 12:52 PM

Quote:

Originally Posted by Minous (Post 292506)
Can you provide a more precise example? IE what Race/Class/Template ?


race is aasimar.

class and template are custom, and each has celestial language as part of its inclusion. other details in the custom class and custom templates don't matter at this point.

with that in mind, i need to find a way to script in the condition that if celestial language is already included from any source, an instance of it from another source would hide/not shown on stats.

Quote:

Originally Posted by Minous (Post 292506)
...in your custom template/class do a check to see if the language already exists...

i know that... not sure how many different ways i can explain this need -- how is it scripted?
.


Minous December 29th, 2020 03:20 PM

Quote:

Originally Posted by tahltwo (Post 292507)
race is aasimar.

class and template are custom, and each has celestial language as part of its inclusion. other details in the custom class and custom templates don't matter at this point.

with that in mind, i need to find a way to script in the condition that if celestial language is already included from any source, an instance of it from another source would hide/not shown on stats.



i know that... not sure how many different ways i can explain this need -- how is it scripted?
.

Look at something like https://forums.wolflair.com/showpost...36&postcount=2

tahltwo December 30th, 2020 08:07 AM

Quote:

Originally Posted by Minous (Post 292574)



thx for pointing to that... i checked it out and was not smart enough to understand the coding :-(

from the last couple of posts, i don't think it was resolved, or confirmation whether it worked (i could be wrong).


All times are GMT -8. The time now is 11:54 PM.

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