Start an event as an action

For questions about using Classic.

Post » Wed May 04, 2011 10:35 pm

Is it possible to create an event and start it with an action?

I know how to do this with a workaround, but I'm interested if it is possible with a built-in function or something like that.

Thanks in advance!
B
2
S
2
G
1
Posts: 109
Reputation: 1,068

Post » Wed May 04, 2011 10:48 pm

Just tell us what you exactly want to do. Because, if you want to do an action, the computer has to know, when he have to do that action. On the start of the layout? If you pressed a key..or just allways(every tick).
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Wed May 04, 2011 10:49 pm

Try out the Function object =] Just have an action "Call Function" in the event that should trigger the dormant one then type in the function name. It will then call another event which is called "On Function [your function name] Called" I think :)

If need be, I'll try to make a cap to show you later this week (or weekend)
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Wed May 04, 2011 10:57 pm

[quote="zyblade":10bkc6cj]Just tell us what you exactly want to do. Because, if you want to do an action, the computer has to know, when he have to do that action. On the start of the layout? If you pressed a key..or just allways(every tick).[/quote:10bkc6cj]

I'm trying to make a list of actions that I can execute at any given point in an event. This would clear the event sheet from a lot of clutter and make 'programming' in Construct a lot easier for me.

[quote="Jayjay":10bkc6cj]Try out the Function object =] Just have an action "Call Function" in the event that should trigger the dormant one then type in the function name. It will then call another event which is called "On Function [your function name] Called" I think :)

If need be, I'll try to make a cap to show you later this week (or weekend)[/quote:10bkc6cj]

I know what you're trying to say, but I can't find the actions for Call Function and On Function. A screenshot on where I could find this would be practical.

Thanks!
B
2
S
2
G
1
Posts: 109
Reputation: 1,068

Post » Wed May 04, 2011 11:19 pm

add the function object. the actions/conditions are in there.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Wed May 04, 2011 11:31 pm

Oh now I get it. I forgot all about those blocks! Thank JayJay and Davioware!
B
2
S
2
G
1
Posts: 109
Reputation: 1,068

Post » Thu May 05, 2011 6:56 am

I'm glad you were helped :) I just missunderstood your question first^^
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Thu May 05, 2011 7:38 am

[quote="zyblade":2yfzwz9a]I'm glad you were helped :) I just missunderstood your question first^^[/quote:2yfzwz9a]

Thanks for helping me anyways ;)
B
2
S
2
G
1
Posts: 109
Reputation: 1,068


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests