I forget how to call an UI Action from C++, could you tell me please?
Thanks in advance!
Man, come on. You are too lazy to search? You have very well documentation about it and plenty of tutorials.
Cryengine tutorial videos on my Youtube channel! Check it out !
I found ( i looked for it but could not reach anything useful):
Code: Select all
IUIAction *yourAction= gEnv->pFlashUI->GetUIAction("YourActionName");
yourArgNAme.Clear();// I do this everytime, if you want, you can remove this line
yourArgNAme.AddArgument(YourArgumentValue);// btw, you can add several arguments in order if you have got more than one