What I would like to do, is to is to delay a function.
Ex.
In a game a player is battling agains a simulated AI. Then to make the player think that the "battle" is running over a certain time I want to delay the function that process the outcome of the choices made by the player!
I'm trying to make a "RISK"like game so when the play is rolling the die he will await the counterattack by the oponent (the script)
I'm also considering combining php with the jascript function setTimeOut yet I don't know if its possible?????