Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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)

Posted
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.
Posted
  On 10/29/2010 at 11:27 AM, Ell223 said:

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

Posted
So basically, you stole my idea and built apon my script and released it as your own without permission without even crediting me. Thanks.
Posted
  On 10/30/2010 at 10:14 PM, Ell223 said:

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...