Jump to content

Question: Spells and Magic Effects


Wenderer

Recommended Posts

It is not in my style to ask questions on forums, usually google provide me an answer but not this time, so don't even try to send me google something.
Long story short: i trying to add some effects to player, i made in FO4Edit magic effects and spell, in script i do

PlayerRef.addSpell(mySpell, false);

Spell takes needed effect but it not shown in pipboy.
Question: how to force it to shown in pipboy in active effect?

Link to comment
Share on other sites

Try to check existing items that add pipboy icon like chems. I think it is controlled by something in MGEF, maybe Magic Effect Description.

There is Magic Item Description in MGEF and i tried it with no effect. If i make ingestible with this magic effect it shown in pipboy, but i need it in spell form so later i could remove this effects with script. I can't remove effects that added by consumable item.

Link to comment
Share on other sites

Found solution, but it's tricky as hell.
In short: this can be done as mole rat disease works.
In long: effects applies by dummy ingestibles. MGEF for this ingestibles also should be uniq because it must have keyword. NOTE: it's very importan that this keyword must have TNAM - Type equal to 'Unknown 18', i spend several hours hitting my head on keyboard until i figured it out. This ingestibles given to player (or any NPC if needed) by script in another MGEF. And this scripted MGEF is in spell and this spell can be used as you want. In my case i'll use it in another script. To purge effect you need another ingestible with another MGEF, this MGEF must have same keyword as MGEF that applies effects, by it archetype should be Script. And don't forget set flag 'Dispel with keywords' to MGEF that applies and purge effects.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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