Razakel Posted July 28, 2010 Share Posted July 28, 2010 Can anyone tell me what's wrong with this script? scn 1aDarkLairSapphireScript Begin OnAdd Player SetStage 1aDarkLairQuest4 30 DarkLairDeadDropBottle3REF.enable If getstage TG11Heist > 140 && < 199 DarkLairDeadDropBottle3REF.disable DarkLairDeadDropBottle3aREF.enable endif end If the condition for the TG quest isn't met then the script works fine, the quest stage advances and the first REF is enabled. If the condition for the TG quest is met, then nothing happens. Link to comment Share on other sites More sharing options...
DavidBudreck Posted July 28, 2010 Share Posted July 28, 2010 It is just a minor syntax thing; you can't write two conditions together like that. Rather than: If getstage TG11Heist > 140 && < 199 It should be: If getstage TG11Heist > 140 && TG11Heist < 199 Link to comment Share on other sites More sharing options...
Razakel Posted July 28, 2010 Author Share Posted July 28, 2010 Thanks, works like a charm now:) Link to comment Share on other sites More sharing options...
Recommended Posts