Dontino Posted February 15, 2008 Share Posted February 15, 2008 Hello! ^.^ Just going to get straight to the point here... I need some guidance.I understand very very very basic scripting, and managed ti steal some Midas Magic scripts (sorry! Just for one spell...) to make a petrification spell of sorts, it uses 'setrestrained 1' 'ToggleActorAI' and 'Setghost 1' and seems to work perfectly, on NPCs. I'm sure you can guess it bugs up the player, and they can still look up and down and wiggle their legs. Also, it never unlocks looking left and right, even with 'setrestrained 0'. I'd rather a less buggy way to petrify the player, of course, but if I can get the controls to just unlock I'll be happy. Or, maybe, I could DiablePLayerControls? If that's the best method speak up. PS: Er is there a condition to test if the spell hit the player? Thanks in advance! Link to comment Share on other sites More sharing options...
Vagrant0 Posted February 15, 2008 Share Posted February 15, 2008 You might be able to prevent looking in NPCs by adding Look Self in the effectstart and stoplook in the effectfinish blocks. As for the player, disableplayercontrols will still allow the player to look around. There really isn't any way to make the player not able to look around. Link to comment Share on other sites More sharing options...
Dontino Posted February 15, 2008 Author Share Posted February 15, 2008 Hmm yeah I figured. Does set ghost make the player freeze up too? If so can't I set fatigue to zero (or -1) for the duration?How would I do that? And how would I check for if the spell hit the player? And is there a method for making the player unkillable as well? EDIT: Actually I managed to get it working for the player! They can still look up and down but it has no animation, and it wears off properly. Seems I'm done the first part of my mod, now to figure out packages... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.