Page 1 of 1

Action AJAX call confusion

Posted: 23 April 2020, 15:42
by cmgames
How (and where) do I use the arguments passed in the AJAX call on a player action event?

I cannot figure out from the documentation where the AJAX call is actually going. It 'appears' to post to a non-existent .html file, but I know that is just a fiction to get it sent somewhere in server-space.. But where does it actually go?

Specifically, I am trying to pass the click location to a php action script in my xxxx.game.php file.

~cmg

Re: Action AJAX call confusion

Posted: 23 April 2020, 16:18
by apollo1001
it passes it to yourgamename.action.php which you then set up to call the correct function in yourgamename.game.php.

Here is the doc on action.php: http://en.doc.boardgamearena.com/Player ... action.php