Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Shadowrun

Notices

Reply
 
Thread Tools Display Modes
cryptoknight
Senior Member
Volunteer Data File Contributor
 
Join Date: Dec 2008
Posts: 523

Old August 4th, 2011, 02:57 PM
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.
cryptoknight is offline   #1 Reply With Quote
Lawful_g
Senior Member
Volunteer Data File Contributor
 
Join Date: Mar 2007
Posts: 1,245

Old August 4th, 2011, 04:02 PM
Try this maybe?

foreach pick in hero from SkillAct where "SkillCat.Social & !SkillAct.skaIntim"
Lawful_g is offline   #2 Reply With Quote
cryptoknight
Senior Member
Volunteer Data File Contributor
 
Join Date: Dec 2008
Posts: 523

Old August 4th, 2011, 04:27 PM
Thanks! to me it looked like SQL so I kept trying to treat it as such
cryptoknight is offline   #3 Reply With Quote
cryptoknight
Senior Member
Volunteer Data File Contributor
 
Join Date: Dec 2008
Posts: 523

Old August 5th, 2011, 08:15 PM
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?
cryptoknight is offline   #4 Reply With Quote
cryptoknight
Senior Member
Volunteer Data File Contributor
 
Join Date: Dec 2008
Posts: 523

Old August 6th, 2011, 06:33 AM
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
cryptoknight is offline   #5 Reply With Quote
Reply

Thread Tools
Display Modes

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 04:34 AM.


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