n4gix
Resource contributor
- Messages
- 11,674
- Country
Can anyone suggest why this script doesn't seem to work? It's not too complicated! It should simply increment the L:var from 0 to 36 then reset, rinse and repeat endlessly:
Code:
<!-- CUSTOM SCRIPTS -->
<Animation name="Beacon_Light_Rotate" guid="f7e61f65-6d05-480d-b9f9-6c04e0c0484c" length="36" type="Sim" typeParam2="Beacon_Light_Rotate" typeParam="AutoPlay" />
<PartInfo>
<Name>Beacon_Light_Rotate</Name>
<AnimLength>36</AnimLength>
<Animation>
<Parameter>
<Code>
(A:LIGHT BEACON,bool)
if{ (L:Beacon_Light_Rotate,enum) ++ 37 % (>L:Beacon_Light_Rotate,enum) }
</Code>
</Parameter>
</Animation>
</PartInfo>