another state machine restriction

Game development with Board Game Arena Studio
Post Reply
User avatar
ddyer
Posts: 67
Joined: 01 April 2011, 19:55

another state machine restriction

Post by ddyer »

It appears that having multiple meta-variables in the state message strings doesn't work, and
results in uninformative errors. Ie;

clienttranslate('${actplayer} must play a stone')
clienttranslate('${you} must play a stone')

are ok, but

clienttranslate('${actplayer} or ${you} must play a stone')

is not
User avatar
sourisdudesert
Administrateur
Posts: 4630
Joined: 23 January 2010, 22:02

Re: another state machine restriction

Post by sourisdudesert »

Hello,

Well, it depends :)

In your case, what you need is a multiplayer game state. And when the game state type is multiplayer, actplayer has no meaning and should not be used.

Cheers,
User avatar
ddyer
Posts: 67
Joined: 01 April 2011, 19:55

Re: another state machine restriction

Post by ddyer »

sourisdudesert wrote:Hello,

Well, it depends :)

In your case, what you need is a multiplayer game state. And when the game state type is multiplayer, actplayer has no meaning and should not be used.

Cheers,
The undocumented rules don't bother me much, I can find those as I go.
I'm more disturbed by the fact that the error that this causes is totally uninformative and nonspecific.
Post Reply

Return to “Developers”