Jump to content

Scripted weapon help


Ell223

Recommended Posts

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

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

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

  • Recently Browsing   0 members

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