Garagorn888 Posted February 16, 2012 Share Posted February 16, 2012 (edited) Hi, Just wondering if anyone knows the Reset command in Papyrus scripting.I'm pretty sure I've got the rest of my script right, for detecting the activator and all that. But I need a command to reset or respawn an object. I'm trying to get a ramp to reset itself when a pullchain's used, basically. Thanks in advance to anyone who has the command :) Edited February 16, 2012 by Garagorn888 Link to comment Share on other sites More sharing options...
nosisab Posted February 16, 2012 Share Posted February 16, 2012 (edited) The scripting provides option to force waiting the animation to complete before the activator can be used again, if it is to be reused. I don't know if there is a specific reset function although can see it's usefulness ... do I imagine you mean something like restoring the originally displayed figurines on those dragon claw driven doors, for example? Edit: The respawning part is ease, just disable and then enable it, still I don't know if this acts as resetting. Edited February 16, 2012 by nosisab Link to comment Share on other sites More sharing options...
Sunnie Posted February 16, 2012 Share Posted February 16, 2012 As far as a have seen, ramps are generally just a 2 state activator, and the pull chains run on the pullbar script. All you need to do is use the chain as the activator parent for the ramp and it should work for both bringing the ramp down and then back up without any custom script.. Link to comment Share on other sites More sharing options...
Garagorn888 Posted February 16, 2012 Author Share Posted February 16, 2012 (edited) Unfortunately, the ramp in Riftweald doesn't have the necessary animation to reset itself, so respawning is necessary. I no longer need the script for what I originally wanted it for though as I've decided to delete the ramp and convert the area where it was to a complete balcony. It may be handy at some point though, so I'll continue to research into the topic, and would be grateful for assistance. :) Unfortunately disable/enable won't work. It appears to be set to reset objects to their state just before disabling, rather than their original state before activation. Edited February 16, 2012 by Garagorn888 Link to comment Share on other sites More sharing options...
Recommended Posts