User Tag List

Results 1 to 3 of 3

Thread: is here any way to decect how app was runned?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    357
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb is here any way to decect how app was runned?

    for example, here is 2 ways to run application in CTF2.5: key F7 runs as frame, key F8 runs as application. I need something like:
    runned as frame - do something.
    or
    runned as application - do something

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,336
    Mentioned
    156 Post(s)
    Tagged
    2 Thread(s)
    You could add at the beginning of the application an empty frame that sets a "runapp" global value to 1 and just does a "next frame". And then you test if runapp is equal to 0.

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)
    alexexhowl's Avatar
    Join Date
    Jan 2015
    Location
    RU, YKT
    Posts
    357
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Yves View Post
    You could add at the beginning of the application an empty frame to sets a "runapp" global value to 1 and just does a "next frame". And then you test if runapp is equal to 0.
    that works, omg, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •