Post by DarkTonic Dev on Aug 14, 2019 19:10:59 GMT
The code behind that method just calls a static method, so if you can call a static method from Playmaker, then yes. Otherwise no, without coding up a Custom Action. You need to call this: LevelSettings.RestartGame();
Okay, I noticed that it's probaly on Playmakers side because it seems to need a variable to store something. I put it like it's on the attached screenshot and there are now no errors but the game does not restart or at least the game status does not change it stays on Game Over. Any advice?
Post by DarkTonic Dev on Aug 15, 2019 15:48:07 GMT
No that method doesn't take any parameters. You definitely don't want to do "every frame", and it could trigger more than once. Also, there is no value to store because the return type of the method is "void" i.e. no return value.
You will need to consult Playmaker support for help on how to call "void methods", I don't know.
Thanks. I found out that if I try to put a variable there Playmaker informs me that it is not needed because the method does not return value. I mainly put this information here in case someone else is using Playmaker with Core GameKit and stumbles upon same problems. But anyway, it's working now.