After many months and no sleep last nite I finally got the dam 'wait' ting working.... <img src="smileys/smiley14.gif" border="0" align="middle" />
I had to mix my fsm methods. I was using groups for everything (set active, set deactive), which didnt work with the wait action. So I changed only my cpu AI to use a status variable as Mipey mentioned, and (the needed part) set the status to 'wait' during the wait , lol <img src="smileys/smiley17.gif" border="0" align="middle" />
+After each play - set status to 'wait'
+(group WAIT) if status='wait'
wait 5 seconds
set status to 'AI'
+(group AI) if status='AI'
do stuff
set status to 'AI-2'
+(group AI-2) if status='AI-2'
do stuff
set status to 'AI-3'
....etc
I'm not sure why (setting wait group active, then wait 5 secs, then deactivate wait group, then set AI group active) didn't work for me.
Unfinished, but you can take a look here:
Click 'Play' on the intro, then 'Ok' for name, then click 'Deal'.
The game will auto-pose unless you have 6:6 and when it is your play it will put the domino you click on the correct location.
chezral.6te.net/Domino/index.html%C2%A0%C2%A0%C2%A0%3Cimg src="smileys/smiley17.gif" border="0" align="middle" />