• 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

How do I edit the scripts?

cryptoknight

Well-known member
I'm trying to add Glamor to the list of qualities... and I found a script in Kenisics that almost works

Code:
      ~if we're disabled, just get out now
      doneif (activated = 0)
      
      ~REMINDER: Add to Judge Intentions once that's been added
      
      ~find all our social skills and add our rating as a dicepool modifier
      foreach pick in hero from SkillAct where "SkillCat.Social"  
        perform eachpick.field[DicePool].modify[+,field[trtFinal].value,""]
        nexteach

How do I reference the name of the skill? Glamor adds +3 to every social skill but Intimidate... I'd think I could change

Code:
      foreach pick in hero from SkillAct where "SkillCat.Social"  AND SkillAct.Id <> "skaIntim"
but that doesn't seem to work.
 
How do I find out what the names of all the attributes are?

For instance, I was working on creating a Night One as well... and I can figure out how to bootstrap an Allergy onto the race, but I don't see how that I can specify that it's a mild,common allergy to sunlight. I thought it might be a tag, or a field on the bootstrapped quality, but I don't know the property name for the severity, commonality, or what the race is allergic to.

Sorry if I missed something, is there a document that spells out the data structure for the SR4 system? Or a way to figure it out from the editor?
 
Ah learned yet another trick... I opened up a character I had made allergic to sunlight in notepad, and found the properties... :) One more race down. hehe
 
Back
Top