Difference between revisions of "SetActorRefraction"

1 byte added ,  06:44, 16 July 2006
m
no edit summary
imported>Gamall
(strange behaviour with savegames)
imported>Gamall
m
Line 13: Line 13:


There seems to be a small glich about this function : if you load any other savegame while you are semi-transparent, you will still be semi-transparent. It's tricky if you use that in a spell effect, because you can't prevent the player from fast-loading their quicksave while the effect is active. As a workaround, one can use this kind of code in a quest script :
There seems to be a small glich about this function : if you load any other savegame while you are semi-transparent, you will still be semi-transparent. It's tricky if you use that in a spell effect, because you can't prevent the player from fast-loading their quicksave while the effect is active. As a workaround, one can use this kind of code in a quest script :
  if player.IsSpellTarget thespell== 0
  if player.IsSpellTarget thespell == 0
     player.sar 0
     player.sar 0
  endif
  endif
Anonymous user