Help me /sci/, I no good math!
The general idea is logging a variable within an index on the start of the instance:
Color_Index = Color_index + 1
Current_Color[Color_Index] = Red
And along the lines when the variable is no longer needed I need to "de-index it" by looping through all instances and reshuffling them so to speak?
For each (Integer Color_Loop) from 1 to Color_Index, do (Actions)
Loop - Actions:
Current_Color[Color_Loop] = Current_Color[Color_Index]
Color_Index = Color_Index - 1
Color_Loop = Color_Loop - 1
Now my issue is that I'm trying to index 3 separate variables within a single instance and clean them up like I did above:
For each (Integer Color_Loop_Segment) from 1 to Color_Segment_Count[Color_Loop], do (Actions)
Loop - Actions:
Set Color_Value = ((Color_Seg_Count[Color_Loop] x Color_Loop) + (Color_Loop_Segment - 1))
How would I go about doing this?
Also Pic related is what I'm fiddling with.
The general idea is logging a variable within an index on the start of the instance:
Color_Index = Color_index + 1
Current_Color[Color_Index] = Red
And along the lines when the variable is no longer needed I need to "de-index it" by looping through all instances and reshuffling them so to speak?
For each (Integer Color_Loop) from 1 to Color_Index, do (Actions)
Loop - Actions:
Current_Color[Color_Loop] = Current_Color[Color_Index]
Color_Index = Color_Index - 1
Color_Loop = Color_Loop - 1
Now my issue is that I'm trying to index 3 separate variables within a single instance and clean them up like I did above:
For each (Integer Color_Loop_Segment) from 1 to Color_Segment_Count[Color_Loop], do (Actions)
Loop - Actions:
Set Color_Value = ((Color_Seg_Count[Color_Loop] x Color_Loop) + (Color_Loop_Segment - 1))
How would I go about doing this?
Also Pic related is what I'm fiddling with.
