TheElderInfinity Posted February 7, 2012 Share Posted February 7, 2012 Hello there Nexus. I'm currently working on the scripts for Call of Hircnie (a mod for werewolves which you can read about over in Mod Talk) and I'm encountering a problem. Thanks to the in kit compiler, things are going a lot faster, and, with the help of the wiki, I've gotten rid of a lot of the errors that had to do with me using tesscript Syntax, but I can't figure out one strange error that I'm getting... Scriptname cohTransformTiming extends Quest {Controls the Timing for transformation.}short cohGetMoonPhasefloor cohPhaseDaycohGetMoonPhase = (( GameDaysPassed + ( GetCurrentTime / 24 ) - 0.5 ) % 24 )cohGetMoonPhase = cohPhaseDay / 3;/List of moon phases returned by cohGetMoonPhase calculation0 = full moon1 = 3/4 waning2 = half waning3 = 1/4 waning4 = new moon5 = 1/4 waxing6 = half waxing7 = 3/4 waxing/; (compiling error below)Starting 1 compile threads for 1 files...Compiling "cohTransformTiming"...c:\program files (x86)\steam\steamapps\common\skyrim\Data\Scripts\Source\temp\cohTransformTiming.psc(5,16): no viable alternative at input '='No output generated for cohTransformTiming, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed.Failed on cohTransformTiming I'm not exactly sure what this error entails, though I believe it has to do with line 5, the long one with lots of parenthesis. Any advice here would be greatly appreciated, as this is a critically important script for the mod. Link to comment Share on other sites More sharing options...
Recommended Posts