Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Quote:
Code:
if (isuser + origin.ishero >= 2) then If I use the same check it doesn't use points during character creation or during Advancement. |
|
#21 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
|
#22 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Quote:
Code:
doneif (isuser = 0) doneif (origin.ishero = 0) |
|
#23 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I've tried checking if it was on a gizmo with parent.isgizmo, but that's going to be true no matter how it's added, I've tried origin.ishero <> 0, I can't figure out how to get it to add while on one gizmo, but not add from the other.
|
#24 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
container.ishero?
Isn't your question whether the item itself is in a gizmo (in which case you want it to apply its cost differently) or on the hero (in which case its cost is paid with the standard XP mechanism for your game? |
#25 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
if I do:
doneif (container.ishero = 0) it doesn't add add to the points spent if I do: doneif (container.ishero <> 0) it adds both when it's added in character creation and in Advanement mode |
#26 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I was just looking at advancement and I may be doing it wrong, since when I add an area of exertise it doesn't update on the skill tab, so I might have to go to the drawnig board
|
#27 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I think I got it figured out, I did the check of if the parent is a skill and isuser and it only adds for skills during creation and does not add points when its added through an advance.
|
#28 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Ok, now that I've got the cost part taken care of I'm back to setting up the Advancement for Areas of Expertise. I've created a template with a menu_things element, I have picks set to be on hero and just for starters I've set it to component.Skill for the candidate element, but no matter what I get a "Nothing to Select" message. All the skills are bootstrapped to the hero so they should all come up as far as I can tell.
|
#29 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
If your areas of expertise are items added within the gizmos of the skills, there is no way to use an advancement to add an item to the inside of a gizmo from outside that gizmo.
In Shadowrun, skill specialties added as advancements place their name into a field on the skill with a script, and then that field is displayed under the table of specialties the user added. |
#30 |
Thread Tools | |
Display Modes | |
|
|