| |
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 22 Feb 2014 12:16 PM |
wouldn't you need the name of the enemy, and to check if all of the players were dead? I'm not sure how to do that, either. -=Robo=- |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
|
| 22 Feb 2014 03:23 PM |
| Maybe you could make a table that holds all the dead players. In other words, when a player dies, they are removed from the "Players" table and added to the "Dead" table. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Feb 2014 03:55 PM |
you can't do
table.remove(player,enemy)
table.remove requires the index
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
Gavin9788
|
  |
| Joined: 24 Nov 2010 |
| Total Posts: 1389 |
|
|
| 22 Feb 2014 04:09 PM |
if (#table<=0) then --table is empty. end |
|
|
| Report Abuse |
|
|
| |
|