But isnt that just adding playerBall to the first position in the list and then instantly removing it? (as its in first position after adding it)?
EDIT
Crap, of course its not - but its just copying the first in the list to playerBall and then removing it(without adding playerBall to ballList). I guess this would be the solution:
EDIT
Crap, of course its not - but its just copying the first in the list to playerBall and then removing it(without adding playerBall to ballList). I guess this would be the solution:
local tempBall:TBall TempBall = playerBall playerball = tball(balllist.first()) balllist.removefirst() ballList.AddFirst ( tempBall )