Feythor Posted July 4, 2007 Share Posted July 4, 2007 Ok, i was wondering if anyone knew a way to cause reflect damage and reflect spell only when i block an attack with my sheild. Link to comment Share on other sites More sharing options...
Vagrant0 Posted July 4, 2007 Share Posted July 4, 2007 Ok, i was wondering if anyone knew a way to cause reflect damage and reflect spell only when i block an attack with my sheild.None that wouldn't cause messages to constantly be popping up on the screen, or work with any existing effects. The only way you can make it work is by scripting a shield to check for the block animation being played, then adding a reflect damage/spell ability when the shield is raised, and removing it when the shield is lowered. If OBSE allows enchantment strength to be adjusted by scripts, it might be adjusted that way, but the process would be a bit more complicated, and still not work with existing effects. You can't change the way existing effects work since the way spells work is hard coded. Link to comment Share on other sites More sharing options...
PanzerOfGod Posted July 4, 2007 Share Posted July 4, 2007 Perhaps you could use that OBSE function "IsKeyPressed 2" to detect if the right mouse button is being pressed, and then if it is, put an activator next to the player that casts a spell reflect spell at him/her. Link to comment Share on other sites More sharing options...
Feythor Posted July 4, 2007 Author Share Posted July 4, 2007 O.o that sounds complicated atm all i can do is edit old items to make my own :D Link to comment Share on other sites More sharing options...
Vagrant0 Posted July 5, 2007 Share Posted July 5, 2007 Perhaps you could use that OBSE function "IsKeyPressed 2" to detect if the right mouse button is being pressed, and then if it is, put an activator next to the player that casts a spell reflect spell at him/her.Would actually be less useful since it would detect for any blocking animation, would be more complicated to do, and still wouldn't solve most of the problems I mentioned. While having the spell cast on the player would cut down on the message spam, it would create an even worse situation where the spell is being cast every second or so, for as long as the shield is raised. Using a longer duration would make the effect still active if the shield isn't up, and no matter what, you would still need to make adjustments to the script so that it isn't casting the spell every frame. Link to comment Share on other sites More sharing options...
PanzerOfGod Posted July 5, 2007 Share Posted July 5, 2007 Perhaps you could use that OBSE function "IsKeyPressed 2" to detect if the right mouse button is being pressed, and then if it is, put an activator next to the player that casts a spell reflect spell at him/her.Would actually be less useful since it would detect for any blocking animation, would be more complicated to do, and still wouldn't solve most of the problems I mentioned. While having the spell cast on the player would cut down on the message spam, it would create an even worse situation where the spell is being cast every second or so, for as long as the shield is raised. Using a longer duration would make the effect still active if the shield isn't up, and no matter what, you would still need to make adjustments to the script so that it isn't casting the spell every frame. For the blocking animation part, there has to be a way to tell if the player has a shield equipped, and for the frame thing, I would use controlvar, toggle it on when the spell is cast, then toggle it off when the sheild is put down. I don't know about the effect though. Link to comment Share on other sites More sharing options...
Povuholo Posted July 5, 2007 Share Posted July 5, 2007 Not exactly the same, but this is close. Link to comment Share on other sites More sharing options...
Feythor Posted July 5, 2007 Author Share Posted July 5, 2007 :D someone else wanna make it for for me or atleast show me how. I want to make it a completely cheap sheild that reflects everything back no matter how much damage but only when i block :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.