Jump to content

Scripting Help


9ApocalypseSnails

Recommended Posts

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 by 9ApocalypseSnails
Link to comment
Share on other sites

 

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

 

 

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 by Jokerine
Link to comment
Share on other sites

  • Recently Browsing   0 members

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