Talk:SetActorAlpha

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Is it 0.0-1.0 solid to invisible or the other way around? --Tegid 23:57, 5 April 2006 (EDT)

Other way around NFITC1 03:47, 13 September 2006 (EDT)

I think I may have discovered something upsetting. This is the scenario:

  1. I made a scripted spell that makes the player 'ghosty' for 10 seconds (like the night mother). This used "saa 0.01" in the Begin ScriptEffectUpdate block
  2. I cast the spell
  3. I quicksaved then quit while the spell was still active
  4. I loaded later. The spell's effect stopped as it should
  5. I played a little longer and saved
  6. I died and tried to load the last save
  7. After loading the mods the game crashed and XP told me that it had caused some illegal error

This was very annoying for a while. I didn't know what to make of it. This is how I fixed it:

  1. Disabled the mod that gave this spell
  2. Loaded my savegame with ghosty mode on
  3. Manually typed "player.saa 1" in the console
  4. Saved, exited, and reloaded without problems

I think it was this exact problem that could even cause this error to exist in the first place. I don't know if it's a bug in the saa command or the Begin ScriptEffectUpdate block. Would anyone care to test? NFITC1 03:47, 13 September 2006 (EDT)