Jump to content

Recommended Posts

Hi there!! 

I want to work between frames, that means I want to do some calculations in t=1/frame 1 that will affect values of t=2/ frame 2.
More presicely I am importing csv files that show happiness numbers per 50 years. For t = 1, happiness = x. What I want is to say that when t = 2 and happiness = y, substract from happiness 10% of its value, i.e. happiness = y - y*y%. In the end I want to apply this policy to all the coming frames; 

if (factor < 5%) 
{
@hapiness -= hapiness*10%;
}

How can I do that?

Στιγμιότυπο 2018-06-17, 12.37.17 πμ.png

Edited by elenvou

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×