Hi, guys
I use for loop (from 1 to 2) to append a text same as:
but I received Infinite loop.
This is result :
I think the result must return [quote:2kqcgp10]_1_2
Something was wrong?
sr, my english is not good
Develop games in your browser. Powerful, performant & highly capable.
there is no conditions before your loop, therefore it will repeat each tick (aka each time the screen is drawn).
On start of layout is an exemple of system condition that will make it so it returns _1_2 when the layout starts.
there is no conditions before your loop, therefore it will repeat each tick (aka each time the screen is drawn). On start of layout is an exemple of system condition that will make it so it returns _1_2 when the layout starts.
I thought 'for-loop' is run without any conditions, its will run once only but I was wrong. Thank you!
The loop runs once, but the C2 engine runs all events 60 times a second, so you have to design your code with that in mind.
wow, This is a information really useful for me. Thank you !
Here is another method. <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">
https://www.dropbox.com/s/79tngj4brzvy7 ... .capx?dl=0