Difference between revisions of "User talk:Tesfabpel"
→How to paralize a whole cell?: better script
imported>Tesfabpel m |
imported>DragoonWraith (→How to paralize a whole cell?: better script) |
||
Line 44: | Line 44: | ||
Thank you, now the script work, but I add one new line in the Start block to my script: | Thank you, now the script work, but I add one new line in the Start block to my script: | ||
player.setAV Paralysis 0 | player.setAV Paralysis 0 | ||
: | |||
:[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 15:20, 31 July 2006 (EDT): Oh, yeah, right. Heh, sorry, forgot about that. A better way to do it would be this, by the way: | |||
scn ParalyzeAll | |||
ref self | |||
Begin ScriptEffectStart | |||
set self to GetSelf | |||
if ( self != player ) | |||
setAV paralysis 1 | |||
else | |||
Dispel "spell's ID" | |||
endif | |||
End | |||
Begin ScriptEffectFinish | |||
if ( self != player ) | |||
setAV paralysis 0 | |||
endif | |||
End | |||
:You'll also likely want to test how this interacts with an actualy Paralysis spell being cast at the same time. |