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
No matching signatures headache
Tesseract Offline
Senior Member

Posts: 498
Threads: 7
Joined: Mar 2011
Reputation: 18
#3
RE: No matching signatures headache

(09-20-2019, 05:38 PM)Mudbill Wrote: Can you show the code you have?

I've since deleted it and moved on, but I get the same issue anyway with this: 
#include "interfaces/Map_Interface.hps"
#include "base/Inputhandler_Types.hps"

#include "helpers/helper_map.hps"
#include "helpers/helper_props.hps"
#include "helpers/helper_effects.hps"
#include "helpers/helper_audio.hps"
#include "helpers/helper_imgui.hps"
#include "helpers/helper_sequences.hps"
#include "helpers/helper_game.hps"
#include "helpers/helper_modules.hps"
#include "helpers/helper_ai.hps"

class cScrMap : iScrMap
{
    void Setup()
    {
    }
    
    //-------------------------------------------------------

    ////////////////////////////
    // Run first time starting map
    void OnStart()
    {
        Entity_AddCollideCallback("Player", "TriggerArea_1", "volumes");
    }

    bool volumes (const tString &in asParent, const tString &in asChild, int alState) {
        if (alState == 1) {
            cLux_AddDebugMessage("in volume");
        }
        else if (alState == -1) {
            cLux_AddDebugMessage("out of volume");
        }

        return false;
    }

}

Now the collide callback works but the debug message will return the same "no matching signatures" issue (despite me doing the same thing I've done here under another mod to test). Also if I don't use a debug message and do something else with the callback it will only fire once despite me telling it not to delete the callback once it has been called.
09-21-2019, 05:08 AM
Find


Messages In This Thread
No matching signatures headache - by Tesseract - 09-20-2019, 07:55 AM
RE: No matching signatures headache - by Mudbill - 09-20-2019, 05:38 PM
RE: No matching signatures headache - by Tesseract - 09-21-2019, 05:08 AM



Users browsing this thread: 1 Guest(s)