Gunrock Posted April 4, 2019 Hello! I created two switches. One is suppose to start a rotating polyobject, the other switch is suppose to stop it from rotating. For some odd reason I cant get the other switch to stop it from rotating. Here is the script I created. script 11 (void) { polyobj_rotateleft(66,24,255); polyobj_rotateright(67,24,255); Light_Fade(69,192,35); ambientsound("amb34", 127); } script 12 (void) { Polyobj_Stop(66); Polyobj_Stop(67); Light_Fade(69,0,35); ambientsound("amb34", 127); } What am I doing wrong? Thanks!!! 0 Share this post Link to post
StormCatcher.77 Posted April 4, 2019 The script looks quite working... I can assume that the script is not executed due to incorrect linedef settings of the stop switch. Please check the "When player press use" and "Repeatable action" properties are on, and the action "80, ACS_Execute" is present and activates script 12. 0 Share this post Link to post
Gunrock Posted April 4, 2019 I checked and double checked all the things you mentioned and still a no go. Script 12 just refuses to stop the polyobjects from rotating. I even used the script terminate function and still the same results. 0 Share this post Link to post
Kappes Buur Posted April 4, 2019 (edited) 6 hours ago, Gunrock said: I checked and double checked all the things you mentioned and still a no go. Script 12 just refuses to stop the polyobjects from rotating. I even used the script terminate function and still the same results. Perhaps my example map can help. Open it with Slade3 to find out how to set up the sound. right switch : start left switch : stop poly-rotating3.7z Edited April 4, 2019 by Kappes Buur 0 Share this post Link to post
Gunrock Posted April 4, 2019 Thank you!!!! It worked You are a life saver!!!! 0 Share this post Link to post