- Joined
- Sep 16, 2012
- Messages
- 453
- Reaction score
- 211
- First Language
- English
- Primarily Uses
- RMMV
if condition is met #in this case it will be the id of the troop i = 0 for i in frame.size t = 0 for t in frame.cell_max frame.cell_data[t, 2] + #amount I am going to lower it by t += 1 end i += 1 end end(Also I originally posted this question in the "Ruby questions that don't deserve their own thread" topic though I didn't receive an answer there so I thought it might be deserving it's own thread).
Edit: solved it by moving the sprite object instead of the doing it the above way (why I didn't think of doing that to begin with is beyond me
Last edited by a moderator:
