• 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

Feat Prerequisite

Could the procedures be included maybe as a separate generic user file and not specifically under SGG? I could really make use of the HaveSpell procedure for Psionics Unleashed. :)

Is it possible to call them from eval scripts as well?
 
Could the procedures be included maybe as a separate generic user file and not specifically under SGG? I could really make use of the HaveSpell procedure for Psionics Unleashed. :)
It could but I would be worried about causing myself to go insane. Let me explain. If I included say v1.0 of "Procedures" with SGG but we updated it to v1.1 for PU and then maybe it got increased to v1.1a for Community Bestiary it would mean strange things depending on the order that a end-gamer loaded the data sets.

I could keep a central version but then as soon it changed I would have to re-create every Data set that used it and re-release. I just don't have the time to do this actually. Or I would have to explain and get people to download it as its own download which I am sure would cause lots of confusion for people. Myself included. :p

Is it possible to call them from eval scripts as well?
The HaveSpell the way I built it and the ScriptType I used means it can not be called correctly from an Eval script. I can create a new one that can be.

What would work better I think over all and less stress for myself is to build a set of procedures directly for PU data set. As actually instead of HaveSpell its really more of ChkPower right? With the idea that I wanted to use "Have" for validation scripts and I am thinking "Chk" (Check) that work in Eval scripts. Crazy to have standards I know.

So I will see if I can make time to create a version to put in Dropbox\Psionics Unleashed that will have a "ChkPower" version that works from inside of a Eval script. I "maybe" can get this done this weekend.
 
Thanks for the explanation. :)

I agree that multiple versions could be a pain. I can actually take a look at it sometime this weekend myself, see how it works as I didn't realize such a thing was possible. :)
 
Thanks for the explanation. :)

I agree that multiple versions could be a pain. I can actually take a look at it sometime this weekend myself, see how it works as I didn't realize such a thing was possible. :)
If you do just note that you can't make or see a Procedure from inside the editor. You have to open it in some type of text file editor. This also means you have do a CTRL-R to reload all of HL to do any testing with it....

From the wiki here is the link to the Procedure Element.
 
Hey ShadowChemosh, does the procedure work to check multiple spells simultaneously?

For example, there might be 3 Fireball spells for different classes/domains or whatever. Could I set SpellID like this and have it validate if any were available?

SpellID = "spFirebal2 | spFirebal3 | spFirebal4"
 
Shadow, I plan on going crazy once I'm unemployed on the 10th and try and keep up with entering the "summer of bullets". I was actually looking to do some early. How close are we to the next update? If it's still a ways away, could you send this procedures file to me?

You should have my email floating around, but JIC it's mpwinn at gmail
 
You should have my email floating around, but JIC it's mpwinn at gmail
Email sent

Sorry guys somehow I missed these comments before. :(
Hey ShadowChemosh, does the procedure work to check multiple spells simultaneously?

For example, there might be 3 Fireball spells for different classes/domains or whatever. Could I set SpellID like this and have it validate if any were available?

SpellID = "spFirebal2 | spFirebal3 | spFirebal4"
Yep that works just fine actually. Hmm actually thinking about the way I do things you can't have the space. So it has to be "spFirebal2|spFirebal3|spFirebal4" actually.

Or better yet:
SpellID = "spFirebal?"
?
That is a very good idea but I am not sure I can do it. Or at least it was not in my head when I was building this. For now it can't handle questions marks. Instead you have to list the three spells separated by a | with no spaces.
 
To use the Count Martial Weapon procedure do the following in a "Pre-Reqs" script.
Code:
~ If we have all martial weapons then valid
validif (#hasfeat[fWepMart] <> 0)

var CntMartWea as number
Call CntMartWea
~ If we have 3 martial weapons than valid else not valid
if (CntMartWea >= 3) then
   @valid = 1
else
   @valid = 0
endif

Can this be modified to do the same for shields, or would that require a new procedure?
 
Back
Top