I'm a beginner with the Creation Kit, and I decided to create an easier way for people who wants to reset their perks.
So I just started the script, ( a lot of things are missing for the result, but I will do it when I will resolve my problem ).
Here it is :
Scriptname APResetPerk extends ObjectReference{Script for reseting perk}Message Property APResetPerkAsk AutoMessage Property APResetPerkEnd AutoEvent OnRead()Int buttonSelectedbuttonSelected = APResetPerkAsk.Show()If (buttonSelected == 0) ;===================================== ;============ALTERATION=============== Game.GetPlayer().RemovePerk(000f2ca6);Novice Alteration Game.GetPlayer().RemovePerk(000153cd);Alteration Dual Casting Game.GetPlayer().RemovePerk(000c44b7);Apprentice Alteration Game.GetPlayer().RemovePerk(00053128);Magic Resistance 1 ;Game.GetPlayer().RemovePerk(00053129);Magic Resistance 2 ;Game.GetPlayer().RemovePerk(0005312a);Magic Resistance 3 Game.GetPlayer().RemovePerk(000c44b8);Adept Alteration Game.GetPlayer().RemovePerk(000c44b9);Expert Alteration Game.GetPlayer().RemovePerk(000581f7);Atronach Game.GetPlayer().RemovePerk(000c44ba);Master Alteration Game.GetPlayer().RemovePerk(000581fc);Stability Game.GetPlayer().RemovePerk(000d7999);Mage Armor 1 ;Game.GetPlayer().RemovePerk(000d799a);Mage Armor 2 ;Game.GetPlayer().RemovePerk(000d799b);Mage Armor 3[...]else APResetPerkEnd.Show()EndIfEndEventAs you can see, I didn't show you all the script ( too long ) and there are some missing commands after all the RemovePerk, but I will do it later.
And now, here's my problem :
Starting 1 compile threads for 1 files...
Compiling "APResetPerk"...
c:\[...]\Scripts\Source\temp\APResetPerk.psc(14,33): extraneous input 'f2ca6' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(15,36): extraneous input 'cd' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(16,33): extraneous input 'c44b7' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(20,33): extraneous input 'c44b8' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(21,33): extraneous input 'c44b9' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(22,36): extraneous input 'f7' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(23,33): extraneous input 'c44ba' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(24,36): extraneous input 'fc' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(25,33): extraneous input 'd7999' expecting RPAREN
[...]
No output generated for APResetPerk, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on APResetPerk
Compiling "APResetPerk"...
c:\[...]\Scripts\Source\temp\APResetPerk.psc(14,33): extraneous input 'f2ca6' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(15,36): extraneous input 'cd' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(16,33): extraneous input 'c44b7' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(20,33): extraneous input 'c44b8' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(21,33): extraneous input 'c44b9' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(22,36): extraneous input 'f7' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(23,33): extraneous input 'c44ba' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(24,36): extraneous input 'fc' expecting RPAREN
c:\[...]\Scripts\Source\temp\APResetPerk.psc(25,33): extraneous input 'd7999' expecting RPAREN
[...]
No output generated for APResetPerk, compilation failed.
Batch compile of 1 files finished. 0 succeeded, 1 failed.
Failed on APResetPerk
So I searched on this nice forum and I found that " expecting RPAREN " means " ecpecting ')' ". But I tried to put some ")" ( which is really stupid because it cuts the ID of the perk so ... ) and I didn't find any issue. By the way, it's why I created a New Topic here.
Help please ! =)
Xarkes
PS: Sorry for my bad english, I hope you understood everything !