Trigger events on object sleep once (for all Obs)

Get help using Construct 2

Post » Wed Feb 06, 2013 8:45 am

HI, firstly sorry if this has been asked, as it seems like a fairly common task but crawling through the forums I couldn't find any.

I have a bunch of physic objects that I want to trigger events when they stop moving but only once, also when they are moved again I want these same events to trigger again but once again only. I also want to run events local to object and can't seem to work that out.

I have tried to use Is sleeping which triggers at the right point but does so continuously so I use the default condition Trigger Once but that then only triggers once for all the objects not per object.

So then I tried to place that inside a System:Every tick > System:For each object with Trigger Once. But then i just the events called over and over.

Also tried sticking these in a custom function with local variable to control loops but no results.

Any help is much appreciated.
Thank you.labithiotis2013-02-06 08:55:34
B
24
S
11
G
5
Posts: 140
Reputation: 5,004

Post » Wed Feb 06, 2013 11:20 am

Not sure if this is what you want.

http://dl.dropbox.com/u/84974566/sleeping.capx

drag the red square btw. spongehammer2013-02-06 11:22:42
B
45
S
15
G
9
Posts: 1,096
Reputation: 11,038

Post » Wed Feb 06, 2013 11:57 am

Hi, I can't open that file as I have an order version (Free Version 114) which is the latest I can download. Says your version is 117 is that the premium version?

Is it possible for you to save out to order versions?

Sorry to be a pain, I only started playing with construct 2 yesterday and wanted to give it a little more of a play before purchasing if possible ;)
B
24
S
11
G
5
Posts: 140
Reputation: 5,004


Return to How do I....?

Who is online

Users browsing this forum: Megavolt, selaus and 0 guests