Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Wruin
Member
 
Join Date: Nov 2012
Location: Portland, OR
Posts: 43

Old November 18th, 2012, 02:44 PM
I want to write an eval script to change alignment for the template I am creating. Selecting which alignments are valid in the editor limits which alignments the base creature can be and has the effect of graying out the template during selection. This is not what I want. I want to apply the template to any alignment, and the template will make the creature Chaotic Evil.

I am looking at tags and fields. There are so many having to do with alignment that I don't understand which to set. I cannot find an example anywhere. The Helm of Opposite Alignment doesn't actually change alignment. I have been trying to solve this for 3 days, so someone please show me how.

Thank you.
Wruin is offline   #1 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old November 18th, 2012, 04:55 PM
I've checked some that would cause an alignment to change, but it doesn't appear to actually do it automatically, you still have to go and change it, it just highlights that the alignment is invalid.

It would be a handy addition.
AndrewD2 is offline   #2 Reply With Quote
AndrewD2
Senior Member
 
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975

Old November 18th, 2012, 09:00 PM
not sure if there is a way to modify wcAlign via eval script
AndrewD2 is offline   #3 Reply With Quote
Wruin
Member
 
Join Date: Nov 2012
Location: Portland, OR
Posts: 43

Old November 19th, 2012, 08:03 AM
I couldn't figure out how.
Wruin is offline   #4 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,219

Old November 19th, 2012, 09:22 AM
The intent is that you ignore the fact that it's greyed out, add the template anyway, and then fix the alignment, so that the template becomes valid.
Mathias is offline   #5 Reply With Quote
Wruin
Member
 
Join Date: Nov 2012
Location: Portland, OR
Posts: 43

Old November 19th, 2012, 09:29 AM
Alright, that's not so bad. I can be a bit of a perfectionist, and I have no time constraints on this project. I figure if I can implement this template, I will have learned the skills I need to be proficient with the tool. It is actually nice to know I couldn't figure it out because it can't be done.

As always, I appreciate the feedback from both of you.
Wruin is offline   #6 Reply With Quote
Matt Droz
Senior Member
 
Join Date: Apr 2010
Posts: 152

Old February 13th, 2013, 08:21 AM
I'm setting up an Alternate Racial Trait that switches the base creature from Chaotic Good to Chaotic Evil. I was able to change it by doing the following:

Code:
perform hero.child[rUnicorn].delete[Alignment.Good]
perform hero.child[rUnicorn].assign[Alignment.Evil]

Matt Droz Community material (Forgotten Realms & Non-SRD/Retro)
Matt Droz is offline   #7 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,219

Old February 13th, 2013, 08:56 AM
Add a prereq to the ART for the new alignment. I can't remember the details off hand, but I'm pretty sure there are reasons that just changing the alignment tags won't work.

If the race has a prereq of a specific alignment, you may need to have the ART delete the tags that create that prereq.
Mathias is offline   #8 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old February 13th, 2013, 09:55 AM
If I remember correctly, the issue Mathias was talking about is that the alignment tags from the race are only forwarded if the user hasn't picked an alignment manually. Thus your script will only work if the user hasn't clicked on the alignment selection button already.
Aaron is offline   #9 Reply With Quote
Reply


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 09:20 PM.


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