The question has been raised before (here: http://apolyton.net/forums/showthrea...threadid=62653)
Does the function IsHumanPlayer work properly in multiplayer games?
I did some testing tonight and here's what I found... (warning bad news!)
The one and only time the function would work in my setup was when it was a human player's turn (host or not) and the argument tested was his player number. No other player number would work when a human played and neither would it run on the AI's turns but there not even with the AI's player number as an argument.
The error returned is always "_IsHumanPlayer: Wrong number of arguments"
I can only think of some mistake in the code of the function itself which obviously renders it useless for any MP setup then...
Does the function IsHumanPlayer work properly in multiplayer games?
I did some testing tonight and here's what I found... (warning bad news!)
The one and only time the function would work in my setup was when it was a human player's turn (host or not) and the argument tested was his player number. No other player number would work when a human played and neither would it run on the AI's turns but there not even with the AI's player number as an argument.
The error returned is always "_IsHumanPlayer: Wrong number of arguments"
I can only think of some mistake in the code of the function itself which obviously renders it useless for any MP setup then...
Comment