9ApocalypseSnails Posted October 6, 2015 Share Posted October 6, 2015 (edited) I've been working on this script for like half an hour and i'm just done. It gives me this error every time I try to save: SCRIPTS: Script 'CustomArmorVariablesScript', line 17: Script command "45Helmet.Disable" Not Found. Can somebody please tell me what the f%#! is wrong with this script!?! (ignore the fact that it doesn't say ref at the end of the first "45helmet" it doesn't fix it anyways) scn CustomArmorVariablesScript(Head) short button begin onactivate showmessage CustomizeHeadMenu end begin menumode set button to getbuttonpressed if (button ==0) 45Helmet.Disable 51Helmetref.Disable X01Helmref.Enable endif if (button ==1) 45Helmetref.Enable 51Helmetref.Disable X01Helmref.Disable endif if (button ==2) 45Helmetref.Disable 51Helmetref.Enable X01Helmref.Disable endif end Edited October 7, 2015 by 9ApocalypseSnails Link to comment Share on other sites More sharing options...
Dawnx2 Posted October 6, 2015 Share Posted October 6, 2015 (edited) Nevermind... Edited October 6, 2015 by Dawnx2 Link to comment Share on other sites More sharing options...
blove Posted October 6, 2015 Share Posted October 6, 2015 Does "45helmetRef" already exist? Link to comment Share on other sites More sharing options...
9ApocalypseSnails Posted October 6, 2015 Author Share Posted October 6, 2015 (edited) Does "45helmetRef" already exist? "45helmet" is in the lvl along with "51helmet" and "X01helmet" Edited October 6, 2015 by 9ApocalypseSnails Link to comment Share on other sites More sharing options...
blove Posted October 6, 2015 Share Posted October 6, 2015 "45helmetRef" has to already exist in the plugin before the script can compile. Link to comment Share on other sites More sharing options...
9ApocalypseSnails Posted October 7, 2015 Author Share Posted October 7, 2015 (edited) "45helmetRef" has to already exist in the plugin before the script can compile.i may be reading you the wrong way but if youre asking me if the helmet is in the game it is - its base id is ArmorPowerT45dHelmet with "45helmet" as its reference id Edited October 7, 2015 by 9ApocalypseSnails Link to comment Share on other sites More sharing options...
Jokerine Posted October 7, 2015 Share Posted October 7, 2015 In some lines you have "45Helmetref.Enable" and in the first it's just "45Helmet.Disable". Are they the same? Change that one to "45Helmetref" and see if that works. Link to comment Share on other sites More sharing options...
Dawnx2 Posted October 7, 2015 Share Posted October 7, 2015 Can somebody please tell me what the f%#! is wrong with this script!?! (ignore the fact that it doesn't say ref at the end it doesn't fix it anyways) In some lines you have "45Helmetref.Enable" and in the first it's just "45Helmet.Disable". Are they the same? Change that one to "45Helmetref" and see if that works. I think they've tried that... Link to comment Share on other sites More sharing options...
9ApocalypseSnails Posted October 7, 2015 Author Share Posted October 7, 2015 In some lines you have "45Helmetref.Enable" and in the first it's just "45Helmet.Disable". Are they the same? Change that one to "45Helmetref" and see if that works.nope :sad: Link to comment Share on other sites More sharing options...
Jokerine Posted October 7, 2015 Share Posted October 7, 2015 (edited) Can somebody please tell me what the f%#! is wrong with this script!?! (ignore the fact that it doesn't say ref at the end it doesn't fix it anyways) In some lines you have "45Helmetref.Enable" and in the first it's just "45Helmet.Disable". Are they the same? Change that one to "45Helmetref" and see if that works. I think they've tried that... Jeez, sorry I tried to help then. The GECK gives a clear error - the problem is in that line. Edited October 7, 2015 by Jokerine Link to comment Share on other sites More sharing options...
Recommended Posts