WastelandAssassin Posted October 28, 2010 Share Posted October 28, 2010 what Platplay could really be the problemit does sound like you need a reference for the RemoveAllItems commandlook in the page i sent you, it tells you how it should be written Link to comment Share on other sites More sharing options...
Platplay Posted October 28, 2010 Share Posted October 28, 2010 I haven't tested it but this should be all you need. scriptname DeCloth Begin OnHit Ref 000DeClotherTarget Set 000DeClotherTarget to GetOwnerLastTarget If (000DeClotherTarget != PlayerRef) 000DeClotherTarget.RemoveAllItems EndIf End Link to comment Share on other sites More sharing options...
Ell223 Posted October 29, 2010 Author Share Posted October 29, 2010 Wow, thanks for that. However, when I paste that into the script window and try to exit, it asked if I want to save, to which I click yes, however it doesn't close the window, and will refuse to close it unless I say no. Am I to assume that there is an error somewhere in the script?Thanks again. Link to comment Share on other sites More sharing options...
BEArbiter Posted October 29, 2010 Share Posted October 29, 2010 scriptname DeCloth Begin OnHit * Variable declaration illegal within Begin/End block Ref 000DeClotherTarget Set 000DeClotherTarget to GetOwnerLastTarget If (000DeClotherTarget != PlayerRef) 000DeClotherTarget.RemoveAllItems EndIf End Correct Script scriptname DeCloth Ref 000DeClotherTarget Begin OnHit Ref 000DeClotherTarget Set 000DeClotherTarget to GetOwnerLastTarget If (000DeClotherTarget != PlayerRef) 000DeClotherTarget.RemoveAllItems EndIf End Use http://www.cipscis.com/fallout/utilities/validator.aspx for Checking script error (dont use New Vegas new Function, but usefull anyway) Link to comment Share on other sites More sharing options...
WastelandAssassin Posted October 29, 2010 Share Posted October 29, 2010 as far as i can say, it looks like there shouldn't be a . (dot) between the Ref and the RemoveAllItems commandif it doesn't work with that dot, remove it BEArbiter wrote you the correct script, or 99% correct Link to comment Share on other sites More sharing options...
Ell223 Posted October 29, 2010 Author Share Posted October 29, 2010 Hey, thanks for the massive help, but it still won't let me save it. Is the script 100% correct, because then if it is then I think my GECK might be buggy. Link to comment Share on other sites More sharing options...
Platplay Posted October 29, 2010 Share Posted October 29, 2010 Hey, thanks for the massive help, but it still won't let me save it. Is the script 100% correct, because then if it is then I think my GECK might be buggy. Well i got it working perfectly already lol. Have a look. Nude Ray 5000 Link to comment Share on other sites More sharing options...
Ell223 Posted October 29, 2010 Author Share Posted October 29, 2010 Thanks, but I feel like you've kinda stole my idea here. Link to comment Share on other sites More sharing options...
Ell223 Posted October 30, 2010 Author Share Posted October 30, 2010 So basically, you stole my idea and built apon my script and released it as your own without permission without even crediting me. Thanks. Link to comment Share on other sites More sharing options...
Platplay Posted October 30, 2010 Share Posted October 30, 2010 So basically, you stole my idea and built apon my script and released it as your own without permission without even crediting me. Thanks. You didn't get the pm i sent you a few days ago? I sent you a pm about crediting you and was waiting for a reply. as for stealing your script all you had was an on hit effect with remove all items (this doesn't work anyway). The nude ray i scripted works entirely differently and has a lot more added to it. If you want credit i can still give it. but you should have hot the PM. Link to comment Share on other sites More sharing options...
Recommended Posts