S
spoonsinbunnies
Guest
so I know I can use argument_count to alter how many arguments a script uses, And I know that the actual arguments aren't used, instead they are copied. So how can I change the directly stated argument instead of the copy. Example of what I mean below because my wording is terrible here.
now obviously if I call this function with x y and image_angle the saving part will work fine, but im fairly sure that the recalling part will alter the copy of the argument the script creates, is there a way around this, does adding it into a string work to reference the variable? Im sure I could toy with this until I get it working but Im sure someone who has more knowledge on scripts could give me more knowledge so I understand why the answer is how it is, than idk this works just because.
Code:
if u.recordingtimeline=true && u.timer/10 = round(u.timer/10)
for(i=0 i<argument_count i++)
{
timeline[u.timer/10,i]=argument[i]//saving
}
if u.recordingtimeline=false
for(i=0 i<argument_count i++)
{
argument[i]=timeline[u.timer,i]//reloading
}