senterpat Posted June 19, 2012 Share Posted June 19, 2012 (edited) Hello again, I wrote this script, but I cant seem to be able to find it in the effect list when making a new actor effect, I looked at the vanilla game handled similar things, and they just have the effect script in the effect list. if anyone knows, please tell me. Also I'm not sure but im afraid the script will run more than once, continually decreasing the skills. If you know if thats the case or know a way to accomplish thiis better, id appreciate the knowledge. type:effectscn myscript begin scripteffectstart if player.hasperk myperk player.modav science -10 player.modav repair -10 player.modav energyweapons -10 player.modav guns -10 player.modav meleeweapons -10 player.modav lockpick -10 player.modav medicine -10 endif end thanks. Edited June 19, 2012 by senterpat Link to comment Share on other sites More sharing options...
rickerhk Posted June 19, 2012 Share Posted June 19, 2012 The script goes on a base effect. Then you add the base effect to the actor effect. Link to comment Share on other sites More sharing options...
senterpat Posted June 19, 2012 Author Share Posted June 19, 2012 Thank you very much, you just made the GECK 100% less annoying. Link to comment Share on other sites More sharing options...
senterpat Posted June 19, 2012 Author Share Posted June 19, 2012 Now can anyone tell me why this script wont work in game? I've tried it with advskill as well and it didnt work either. scn myscript begin scripteffectstart if player.hasperk myperk getisuseditem magazinenvbarterplayer.modav barter 1 getisuseditem magazinenvenergyweaponsplayer.modav energyweapons 1 getisuseditem magazinenvexplosivesplayer.modav explosives 1 getisuseditem magazinenvgunsplayer.modav guns 1 getisuseditem magazinenvlockpickplayer.modav lockpick 1 getisuseditem magazinenvmedicineplayer.modav medicine 1 getisuseditem magazinenvmeleeweaponsplayer.modav meleeweapons 1 getisuseditem magazinenvscienceplayer.modav science 1 getisuseditem magazinenvsneakplayer.modav sneak 1 getisuseditem magazinenvspeechplayer.modav speech 1 getisuseditem magazinenvsurvivalplayer.modav survival 1 getisuseditem magazinenvunarmedplayer.modav unarmed 1 endif end sorry im asking so many questioins, just starting learning how to use the geck and the tutorials are lacking in some aspects. Link to comment Share on other sites More sharing options...
betto212 Posted June 19, 2012 Share Posted June 19, 2012 Now can anyone tell me why this script wont work in game? I've tried it with advskill as well and it didnt work either. scn myscript begin scripteffectstart if player.hasperk myperk getisuseditem magazinenvbarterplayer.modav barter 1 getisuseditem magazinenvenergyweaponsplayer.modav energyweapons 1 getisuseditem magazinenvexplosivesplayer.modav explosives 1 getisuseditem magazinenvgunsplayer.modav guns 1 getisuseditem magazinenvlockpickplayer.modav lockpick 1 getisuseditem magazinenvmedicineplayer.modav medicine 1 getisuseditem magazinenvmeleeweaponsplayer.modav meleeweapons 1 getisuseditem magazinenvscienceplayer.modav science 1 getisuseditem magazinenvsneakplayer.modav sneak 1 getisuseditem magazinenvspeechplayer.modav speech 1 getisuseditem magazinenvsurvivalplayer.modav survival 1 getisuseditem magazinenvunarmedplayer.modav unarmed 1 endif end sorry im asking so many questioins, just starting learning how to use the geck and the tutorials are lacking in some aspects. would be more eficiet mod the magazines and add +1 effect with the condion hasperk Link to comment Share on other sites More sharing options...
senterpat Posted June 19, 2012 Author Share Posted June 19, 2012 (edited) Doh. Your that is about 200 times easier than the way I was doing it. Thank you very much, kudos to you. Though if anyone can tell my why that script wasnt working in game, I'd appreciate you extending my knowledge. EDIT: I think I found out why it wasnt working, in the script I had "if player.hasperk myperk" but for some reason the game saved "myperk" as "myperkDUPLICATE000" . I'm not exactly sure but i think it saves it like that when I have another item with the same name somewhere. I need to work on how I name things I suppose. Edited June 19, 2012 by senterpat Link to comment Share on other sites More sharing options...
senterpat Posted June 19, 2012 Author Share Posted June 19, 2012 would be more eficiet mod the magazines and add +1 effect with the condion hasperk I added this, but it seems like the magazine arent capable of giving a permananent value bonus. What I put the effect box was: Effect: IncreaseSkillBarter Duration: 0Magnitude :1 And the condition: Hasperk perk 'myperk', == 1.0run on subjectI dont have any other boxes checked Can anyone help with this? Link to comment Share on other sites More sharing options...
betto212 Posted June 20, 2012 Share Posted June 20, 2012 oh sorry , you want a permanent increase so attach a script on the magazines ............................ scn barterMAGscript begin scripteffectstart if player.hasperk myperkplayer.modav barter 1endif end Link to comment Share on other sites More sharing options...
senterpat Posted June 21, 2012 Author Share Posted June 21, 2012 Awesome, thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts