apocalypse1138 Posted December 22, 2009 Share Posted December 22, 2009 So poking around trying to re-break into the world of scripting, and of course running into a wall within the first five minutes. :PTrying to create a script for a shield where if the block key is held with it equipped, you will gain 100 to spellreflectchance. Took the example given and ended up with this mass failure of a script, but I hope it conveys my general idea... scn MirrorShieldScirptfloat origvaluefloat origvalue2float modvaluefloat curkey begin gamemodeif ( curkey && iscontrolpressed curkey) returnelse setcurkey to 0endif if ( iscontrolpressed 6 ) set origvalue to player.getactorvalue spellreflectchance set modvalue to origvalue + 100 set curkey to 6endifend Link to comment Share on other sites More sharing options...
Recommended Posts