AndrewBlane Posted January 30, 2015 Share Posted January 30, 2015 (edited) My script won't save so there's probably a syntax error somewhere but I'm not very good at this so I don't know what it is.The script is: SCN 00AJBPinkMambaFoundCampTrig begin onTriggerEnter player if getQuestRuning 00AJBPinkMambaQuest == 1 if getStage 00AJBPinkMambaQuest == 10 setStage 00AJBPinkMambaQuest 20 endif endif end You may be calling me some form of stupid or blind person but I can't see anything wrong with this. Please help -Andrew Edited January 30, 2015 by AndrewBlane Link to comment Share on other sites More sharing options...
Belthan Posted January 30, 2015 Share Posted January 30, 2015 Typo - need another n in getquestrunning Link to comment Share on other sites More sharing options...
claustromaniac Posted January 30, 2015 Share Posted January 30, 2015 Just to add to what Belthan said, I recommend you this script validator to help detect typos and errors. Alternatively you could try Notepad++ with a syntax highlighter such as this one. Personally, I use both. Link to comment Share on other sites More sharing options...
AndrewBlane Posted January 30, 2015 Author Share Posted January 30, 2015 Typo - need another n in getquestrunning THANK YOU! Link to comment Share on other sites More sharing options...
AndrewBlane Posted January 31, 2015 Author Share Posted January 31, 2015 Just to add to what Belthan said, I recommend you this script validator to help detect typos and errors. Alternatively you could try Notepad++ with a syntax highlighter such as this one. Personally, I use both.Sweet, thanks! Link to comment Share on other sites More sharing options...
luthienanarion Posted February 12, 2015 Share Posted February 12, 2015 Also note that prefixing form names with numerals is an extremely bad practice because of how the script compiler parses function arguments, and it can prevent scripts that reference those forms from compiling. Link to comment Share on other sites More sharing options...
Recommended Posts