Frictional Games Forum (read-only)
Call a func after a func completes - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Call a func after a func completes (/thread-22523.html)



Call a func after a func completes - Hauken - 08-20-2013

Hi.

As the title says, how do I call a function after a function is done with its content.

As of now I have a intro/opening with some pictures e.t.c

After that function is done i want it to call a wakeup script = another function

But its also nice to know because this goes for all scripts, its a good general thing to have in mind but I havent had the need before now to use it.

Im sure some of you know it by head.

Heart


RE: Call a func after a func completes - Kreekakon - 08-20-2013

Does the function in question take time to complete? If so just add the function caller at the end of the last timer.

If not, just put it at the end of the first function.


RE: Call a func after a func completes - Hauken - 08-20-2013

ty, I feel derped for asking this I knew it was simple hehe.