I'm having a problem with getting my table to work.
So I have an array of characters who I would like to display their stats in a table, however, when I tried to run it through the Twine player (I'm using the downloaded Twine application on Windows), everything prints out in the first cell.
However, when I experimented and commented out the 'for' loop, everything ends up in their proper cells.
Can anyone help me and tell me what I'm doing wrong?
Thanks in advance.
<table>
<tr>
<th> Alias </th>
<th> Alignment </th>
<th> Rank </th>
</tr>
<<for _i = 0; _i < $TargetsArray.length; _i++>>
<tr>
<td> <<print $TargetsArray[_i].Name>> </td>
<td> <<print $TargetsArray[_i].Alignment>> </td>
<td> <<print $TargetsArray[_i].PowerRank>> </td>
</tr>
<</for>>
</table>