VintheWolf Posted August 14, 2015 Share Posted August 14, 2015 I've been trying to make this whole new disintegration color thing work for about 3 hours now, but my only problem is...the damn script is refusing to save. Here's the script...someone tell me what the hell I'm doing wrong... ScriptName aaaCrimsonDisintegrateScriptFloat TimerShort DoOnceShort IsPileBegin ScriptEffectStart if getisid nvcrmrhouse == 0 SetCriticalStage DisintegrateStart PMS aaaCrimsonVaporize PMS aaaCrimsonAshEffect Set Timer to 1.8 Set DoOnce to 0 endifEndBegin ScriptEffectUpdate If DoOnce == 0 If IsPile == 0 If Timer <= 0.5 AttachAshPile Set IsPile to 1 EndIf Link to comment Share on other sites More sharing options...
DizzasterJuice Posted August 14, 2015 Share Posted August 14, 2015 It won't compile with errors. Use this to see the errors.http://www.cipscis.com/fallout/utilities/validator.aspx Link to comment Share on other sites More sharing options...
VintheWolf Posted August 14, 2015 Author Share Posted August 14, 2015 It won't compile with errors. Use this to see the errors.http://www.cipscis.com/fallout/utilities/validator.aspxI don't see any errors, and plus, it's basically the same damn script for regular disintegration... like...seriously..the same one. Link to comment Share on other sites More sharing options...
Jokerine Posted August 14, 2015 Share Posted August 14, 2015 There is no END to the last ScriptEffectUpdate. Cipsis validator mentions two EndIf statements there too. And you said you checked there? Did you miss those? Link to comment Share on other sites More sharing options...
VintheWolf Posted August 14, 2015 Author Share Posted August 14, 2015 There is no END to the last ScriptEffectUpdate. Cipsis validator mentions two EndIf statements there too. And you said you checked there? Did you miss those?Bloody hell... -.- Ok...not to self...never...ever, try to get a job in coding... Link to comment Share on other sites More sharing options...
VintheWolf Posted August 14, 2015 Author Share Posted August 14, 2015 There is no END to the last ScriptEffectUpdate. Cipsis validator mentions two EndIf statements there too. And you said you checked there? Did you miss those?Update: Problem is persisting...Even when using an old script I made before (one that...actually worked on a different mod..) Link to comment Share on other sites More sharing options...
DaemonGrin Posted August 15, 2015 Share Posted August 15, 2015 You are missing a couple things (I don't know what your new script looks like) but I too made a custom disintegrate. You need 2 endif and end statement at the bottom but you also need the set timer to (timer - getsecondspassed) which you seemd to omit from the vanilla script. check the laserdisintegration script again. Good luck,Geoff Link to comment Share on other sites More sharing options...
VintheWolf Posted August 16, 2015 Author Share Posted August 16, 2015 (edited) EDIT: I found the problem. It was stupid. It wasn't the script after all...I was attaching it to the wrong type of effect... Edited August 16, 2015 by VintheWolf Link to comment Share on other sites More sharing options...
Recommended Posts