Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call a func after a func completes
Hauken Offline
Member

Posts: 62
Threads: 19
Joined: Jul 2012
Reputation: 1
#1
Call a func after a func completes

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
08-20-2013, 05:18 PM
Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#2
RE: Call a func after a func completes

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.

[Image: Tv0YgQb.gif]
Image by BandyGrass
08-20-2013, 05:21 PM
Find
Hauken Offline
Member

Posts: 62
Threads: 19
Joined: Jul 2012
Reputation: 1
#3
RE: Call a func after a func completes

ty, I feel derped for asking this I knew it was simple hehe.
08-20-2013, 05:42 PM
Find




Users browsing this thread: 1 Guest(s)