Jump to content

Recommended Posts

Posted
So I'm trying to make a gun which will instantly remove all items off of an NPC once they are hit with it but can't seem to get the scripting right. I've never tried this before so I'm fairly new at it, any help?
Posted

Ah okay, thanks. And one final question, I've used the function you suggested, but still can't get my script to work, I currently have this:

scriptname DeCloth

short updateCount

Begin OnHitWith 000DeClother
 RemoveAllItems
End

 

000DeClother being the weapon I am trying to assign it to.

Posted

well, this isn't the whole script, right??

if so, can you post the whole script??

also, when you try to save the script, a screen will pop up and notify you of the problems in the script

could you write what it says??

i'll try to help you fix this script

 

also, i think i have seen this done before, so i'll look into it

Posted

Thats my whole script lols. I told you I'm new at this :P And I've never gotten a screen telling me whats wrong, I just click save and then exit the scipt.

Thanks for the help.

Posted
No, I've attached it to a plamsa rifle with a changed name, it does 1 damage which is what I set it to, but the desired effect doesn't happen.
Posted

you need to make a variable for who's hit.... then have that variable stripped. That what i think anyway. So on hit, get actor, then gotten actor = strip

 

currently it doesn't know who or what, its suppose to remove all items from.

  • Recently Browsing   0 members

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