I've just copy&pasted the code from here:
http://freesdk.crydev.net/display/SDKDO ... ctionnodesand followed instructions of implementation. But I have a compile error:
Code:
1> UIFunctions.cpp
1>UIFunctions.cpp(13): error C2660: 'IUIEventSystem::RegisterListener' : function does not take 1 arguments
It says that the function RegisterListener needs more arguments:
Code:
m_pGameEvents = gEnv->pFlashUI->CreateEventSystem( "Game", IUIEventSystem::eEST_UI_TO_SYSTEM );
m_pGameEvents->RegisterListener(this);
Another problem!How to make a node, which will send the values as Event? I've tried the standard UI Events, like UISettings, and it worked. After I made Events and Functions in the separate files, like it said in docs, I can't activate the SendEvent function!!!
I need a help. Thank you!