SDB16 Posted January 10, 2016 Share Posted January 10, 2016 Hello Nexus community, I am having a rather difficult time making a script that removes my bleeding effect when used. I tried remove spell but that didn't work i guess that's only for actor effects, if I can get any help I would appreciate It alot know this topic wasn't written very well I'm just anxious to get my script to work lol So to cram this all into one question, can someone please tell me what to write so that I can remove a object effect from the player. Link to comment Share on other sites More sharing options...
TommInfinite Posted January 10, 2016 Share Posted January 10, 2016 Try PlayerRef.removespell MySpellor PlayerRef.dispel MySpellShould work. Link to comment Share on other sites More sharing options...
SDB16 Posted January 11, 2016 Author Share Posted January 11, 2016 Try PlayerRef.removespell MySpellor PlayerRef.dispel MySpellShould work.Thanks alot, I'll try this and give you the how'goes Link to comment Share on other sites More sharing options...
SDB16 Posted January 11, 2016 Author Share Posted January 11, 2016 Neither of them worked, I copied and pasted both of my object effect ID's so it's not me misspelling themHere is a picture of the script so maby you could tell me what I'm doing wrong. I am still new to scripting :geek: http://s28.postimg.org/64p2jyez1/Scripttroubles.png Link to comment Share on other sites More sharing options...
TommInfinite Posted January 11, 2016 Share Posted January 11, 2016 Have you tried "dispel"? It should work, it always does. How do you recognize that it doesn't work? Maybe spell gets dispeled but it had already permanent effect on player? if you give me further info about what you are trying to achive I'll loook into it. Link to comment Share on other sites More sharing options...
SDB16 Posted January 12, 2016 Author Share Posted January 12, 2016 Have you tried "dispel"? It should work, it always does. How do you recognize that it doesn't work? Maybe spell gets dispeled but it had already permanent effect on player? if you give me further info about what you are trying to achive I'll loook into it.It would ask me to save = so I already redone the process and added the effect to the ammo. Thanks anyways. I'm working on some bleeding effects and I wanted to know how I could prevent the player from using bandages when he/she isn't bleeding, I'm still a newbie at scripting. Link to comment Share on other sites More sharing options...
Recommended Posts