Time script that I'm green on it
1 post • Page 1 of 1
Time script that I'm green on it
So I have an object. And I activate it to show up like that
{
scene.my.x > 1 ? a : b
}
Simplest thing possible, but I want that to work only for a limited time only. Explanation:
When scene.my.x becomes more then 1 and a changes to b I want that even if scene.my.x is still more then 1 then it would work for 15 milliseconds and then come back to b again.
This might be complex, and I don't know any code of how to use it what includes sim.time. I'm clueless about it.
Can someone help me with that?
{
scene.my.x > 1 ? a : b
}
Simplest thing possible, but I want that to work only for a limited time only. Explanation:
When scene.my.x becomes more then 1 and a changes to b I want that even if scene.my.x is still more then 1 then it would work for 15 milliseconds and then come back to b again.
This might be complex, and I don't know any code of how to use it what includes sim.time. I'm clueless about it.
Can someone help me with that?
- vaidas369
- Posts: 24
- Joined: Thu Jan 30, 2014 8:51 pm
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest