joeyme
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 530 |
|
|
| 17 Feb 2012 05:29 PM |
Ok, I have a for loop where I get the children of a model, but is there any way I can make it run backwards? Here's the code:
rallys=ship.RallyPoints:GetChildren() for i=1, #rallys do stuff is here end
When it runs like this, it goes from rally 1 to the highest rally, but how can I make it go from the highest to the first?
|
|
|
| Report Abuse |
|
|
| 17 Feb 2012 05:33 PM |
rallys=ship.RallyPoints:GetChildren() for i=#rallys,1,-1 do stuff is here end
-[::ƧѡÎḾḠΰῩ::]-[::Maker of stuff and Helper of Scripting::]- |
|
|
| Report Abuse |
|
joeyme
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 530 |
|
|
| 17 Feb 2012 06:33 PM |
| Hmm... I thought I tried it but I guess I didn't... Thanks for the help. |
|
|
| Report Abuse |
|