Can someone explain me the each function the range class has? I just can't get it to work for me. ):
[SOLVED]Range each function
RPG Maker Scripting SupportIts a simplified way of using:
I think thats what you wanted to know :P?
- for i in [email hidden]
- #code
- end
- #Instead you could do
- @array.each {|i| #code}
- #An example of the use could be
- @sprite_back.each {|sprite| sprite.dispose}
Expand to see the code.
I think thats what you wanted to know :P?
Yeah, that's exactly what I wanted to know, thanks!
Original thread: https://www.hbgames.org/forums/viewtopic.php?t=76710