SRD:Random Action

The enchanted creature is compelled to act randomly for 1 round. Rather than deciding its action for itself, the subject of the spell takes an action determined randomly on the following table:

Nothing can affect this die roll in any way. It is always entirely random.