Jump to content
ℹ️ Intermittent Download History issues ×

invisibility ring


pbehhe

Recommended Posts

as I said in the description, I took:

"Game.GetPlayer().ModActorValue("health", 10.0)"

and changed it to:

"Game.GetPlayer().ModActorValue("Invisibility", 1.0)"

 

and on compilation I get:

\Invisibility.psc(3,4): no viable alternative at input '.'

No output generated for Invisibility, compilation failed.

 

Batch compile of 1 files finished. 0 succeeded, 1 failed.

Failed on Invisibility

 

this script is in a magic effect of an invisibility archtype, and It is used in an enchantment.

 

please help.

Edited by pbehhe
Link to comment
Share on other sites

Possibly you don't need a script at all to make the magic effect. You could just choose 'Invisibility' for the effect archetype. If you take a look at the invisibility effects in the CK, they are set up this way (ie. InvisibillityFFActor, InvisibillityFFSelf, TG08BInvisibillityFFContact). But yes, if you decide to use a script for the magic effect, you need an event.
Link to comment
Share on other sites

  • Recently Browsing   0 members

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