When i call a void(which is inside of Gamesdk) from another file(which is inside of CryAction) like this: "CPlayer voidName; voidName.something();", i get error on build.
Is there any way to call it from "CryAction"?
Write an answer as soon as possible if it is possible...
Bye, ALLAH bless you.
Re: How to call a void function from another file?
#2You can't create object of a CPlayer class. You need pointer to player. You use GameSDK or some of the templates? And which Cryengine version?
Also.. the question you're asking is less Cryengine question, but more general "How to use C++".
Also all that information are already on the forum as well as on my Youtube channel which is linked down below.
Also.. the question you're asking is less Cryengine question, but more general "How to use C++".
Also all that information are already on the forum as well as on my Youtube channel which is linked down below.
Cryengine tutorial videos on my Youtube channel! Check it out !
https://www.youtube.com/user/MusicForLifePL20
https://www.youtube.com/user/MusicForLifePL20