Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

garantee dispatching two events from script one after one

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
adhamdwikat

garantee dispatching two events from script one after one

Post by adhamdwikat » 05 Apr 2014, 18:39

as i know all changes in the script will affect the output at the next frame ,so how can i dispatch two events from script so i can guarantee that the second one dispatched exactly after the first one in very small time ?
assume i have tow events in my script pauseAll_func and playMovie1_func if i write the folowing code :
//-------------
pauseAll_func();
playMovie1_func ();
changed =true;
//--------------


in the previous code what actually may happens is : the two events will dispatch at the sane time, so the result will not be as expected , so how can i deal with such situations?

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: garantee dispatching two events from script one after o

Post by chriss0212 » 10 Apr 2014, 19:23

just place an event behind the play output and delay it by 1 frame

greetz

christian

Post Reply