Jump to content

Using GetEquipped with a FormList on a Perk


666Phobos666

Recommended Posts

SOLVED

 

What I'm trying to achieve is Perks that grant you bonuses based on wearing certain types of equipment. Unfortunately, I don't think they are activating. I am using a condition of GetEquipped on a FormList I created that contains the specific items. Is this the correct usage for this function? Note that I am NOT scripting this; I am using the GECK forms via the Perk.

 

I tried the method of looking for something else that is already doing this, and then copying (and modifying) it, but I can't seem to find another perk that does this with a FormList.

 

Thank you for any help!

 

UPDATE: I opened up one of my other mods and found a perk that does what I am doing. I believe why the actor effects are not working is potentially because they are listed as "actor effect" instead of "ability". I'll test and let you know.

Edited by 666Phobos666
Link to comment
Share on other sites

What I'm trying to achieve is Perks that grant you bonuses based on wearing certain types of equipment. Unfortunately, I don't think they are activating. I am using a condition of GetEquipped on a FormList I created that contains the specific items. Is this the correct usage for this function? Note that I am NOT scripting this; I am using the GECK forms via the Perk.

 

I tried the method of looking for something else that is already doing this, and then copying (and modifying) it, but I can't seem to find another perk that does this with a FormList.

 

Thank you for any help!

 

What your condition is checking there is if the target has equipped the form list in question. So it'll fail all the time. Form Lists are pretty rigid in what you can and can't do with them. I'd have to look at perks again more closely to help further, and I don't have time right now, sorry.

Link to comment
Share on other sites

What I'm trying to achieve is Perks that grant you bonuses based on wearing certain types of equipment. Unfortunately, I don't think they are activating. I am using a condition of GetEquipped on a FormList I created that contains the specific items. Is this the correct usage for this function? Note that I am NOT scripting this; I am using the GECK forms via the Perk.

 

I tried the method of looking for something else that is already doing this, and then copying (and modifying) it, but I can't seem to find another perk that does this with a FormList.

 

Thank you for any help!

 

UPDATE: I opened up one of my other mods and found a perk that does what I am doing. I believe why the actor effects are not working is potentially because they are listed as "actor effect" instead of "ability". I'll test and let you know.

 

Are you passing a formlist as a var or using a comparison via isInList? It'd probably be much easier to help if you could post the code.

 

What your condition is checking there is if the target has equipped the form list in question. So it'll fail all the time. Form Lists are pretty rigid in what you can and can't do with them. I'd have to look at perks again more closely to help further, and I don't have time right now, sorry.

 

Not really, formlists are very flexible in the things they can accomplish....incredibly useful actually.

Link to comment
Share on other sites

I'm not using code; I'm using the dropdowns via the Perks menus, as I said.

 

Right, the dropdowns.

Right, not using code. Like for instance function names, Comparisons etc., you know all those non code items listed under conditions in perks.....

Crazy idea, but before you bring the attitude, might want to have some idea what your talking about......just saying.

 

IsInList doesn't do me any good to check for being equipped.

 

Right, because isInList surely isn't a condition function and nor could a perk ever have an associated effect script.

 

Anyway, since you'r so knowledgeable about the subject, I'll just let you handle it from here......

Link to comment
Share on other sites

Add your perk entry with whatever effect you want and give it the condition GetEquipped on subject returning 1 and point to your form list. For an example, look at how the In Shining Armor perk is done in the Dead Money DLC.

 

Isn't the In Shining Armour perk broken?

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...