User Tag List

Results 1 to 2 of 2

Thread: Need help finding condition to trigger a call in Xcode!

  1. #1
    No Products Registered

    Join Date
    Jun 2014
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Need help finding condition to trigger a call in Xcode!

    (When I say call I mean method) Sorry!

    Hey everyone, I've taken three or four classes in Java and C++ so I have a decent idea of what I'm doing. However, Objective-c is different.

    I've decided to use revmobs in my iOS apps and I got them to work fairly easily using the sdk except I need the ads to popup whenever layer 1 is visible. Right now they only popup when you load up the ad. Does anyone know how to do this? I just need to find the class where an if statement or something of the sort could be found so that when that condition is met I could execute the code to popup an ad. I know how to execute the code. I just don't know where to find the class nor the code where that condition would be met.

    My game uses the layers object and when layer 1 is visible It means you just died and restarted the game. This is the condition I need to find in Xcode!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    927
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I understand what you mean, i think it would be a great idea to have something like a dummy extension with different combinations of strings, numbers etc. Also for conditions if possible. And a quick tutorial on how to use it.
    What you could do is mess further with my messed version of the chartboost extension: http://community.clickteam.com/threads/87300-ChartBoost-Temporary-Solution!

    Download my modified chartboost .ext file here: http://gameyey.com/ios/ChartBoost.ext
    Put it in the folder \Data\Runtime\iPhone

    Just use the "show interestitial" action on the chartboost object when you want to show ad (leave "" or whatever as string)

    In xcode implement revmob manually like you managed to do already

    now open classes/extensions/CRunChartBoost.m

    replace
    #import "Chartboost.h"
    with
    #import <RevMobAds/RevMobAds.h>

    on line 118 replace
    [[Chartboost sharedChartboost] showInterstitial:[act getParamExpString:rh withNum:0]];
    with
    [[RevMobAds session] showFullscreen];

    done

Similar Threads

  1. Make a Call without "Call Phone" permission?!?
    By StingRay in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 21st April 2013, 08:35 AM
  2. Trigger and Teleporter
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd April 2010, 03:53 PM
  3. How would you trigger an event after a fastloop?
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th April 2009, 11:57 AM
  4. Animation trigger.
    By bunnyonion in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 5th May 2008, 06:35 PM
  5. The way to trigger MMF2's "upon pressing key" bug.
    By Nifflas in forum File Archive
    Replies: 28
    Last Post: 18th August 2007, 05:21 PM

Tags for this Thread

Posting Permissions

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