[PLUGIN] While-loop Forum Home > Construct 2 Development > Plugins for Construct 2 |
Post Reply
|
Page 123 4> |
| Author | |
Post Options
Quote Reply
Topic: [PLUGIN] While-loopPosted: 18 Jan 2012 at 7:12am |
|
|
While-loop
(Update: 2012/02/15) A very small plugin. While-loop will repeat if the "condition value" is larger then 0.
Example ![]() Remember to set initialize condition value before entering while-loop, and don't forget to set the condition value equal or less then 0 to leave while-loop. Using more then one while-loop object to implement multi-layer while-loop. Edited by rexrainbow - 15 Feb 2012 at 3:08am |
|
![]() |
|
Post Options
Quote Reply
Posted: 18 Jan 2012 at 11:52am |
|
|
Very useful! And long overdue.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 20 Jan 2012 at 2:44am |
|
|
^thanks! i love this (and your function plugin)
|
|
![]() |
|
Post Options
Quote Reply
Posted: 20 Jan 2012 at 6:36am |
|
|
Yeah! This will be very handy!
Thanks rex! |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Jan 2012 at 12:50am |
|
|
How could one implement a time based trigger?
System --> wait makes the plug in break down. >< Thanks! |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Jan 2012 at 1:06am |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Jan 2012 at 1:54am |
|
|
I keep getting a 'trigger found as subevent to loop::not allowed' error
mind pointing out what is wrong? ![]() Thanks a lot for your help. :) |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Jan 2012 at 3:19am |
|
|
@Khaz
Uh, I'm not sure... I guess that C2 editor does not allow add a sub-condition with "condition:while", so you can put sub-condition into sub-event. |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Jan 2012 at 3:45am |
|
![]() |
|
Post Options
Quote Reply
Posted: 28 Jan 2012 at 5:03am |
|
|
@Khaz
This problem is caused by "function plugin", you can not put "Condition:on function" into sub-event. Condition with green arrow like "start of layout" can not be put in sub-event. Edited by rexrainbow - 28 Jan 2012 at 5:04am |
|
![]() |
|
Post Reply
|
Page 123 4> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |