[SOLVED]How do I create same behavior for multiple objects?

Get help using Construct 2

Post » Mon Feb 27, 2017 4:05 am

I have objects who will have the same behavior. How can I use those objects to create common behavior? I researched and saw that objects can have common events marked as families but I did not see anything related to behaviors.
Last edited by fearfulelephants on Mon Feb 27, 2017 11:06 pm, edited 1 time in total.
B
18
S
8
G
5
Posts: 30
Reputation: 3,908

Post » Mon Feb 27, 2017 4:51 am

What exactly are you trying to do? I have an idea of how to help but being more specific could help a lot.

Like, I'm not sure if these are entirely separate objects or instances of the same one, such as multiple enemies of the same type.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 521
Reputation: 19,594

Post » Mon Feb 27, 2017 5:09 am

So the objects are alphabets A to Z. Each object will have sine behavior. Is there a way I can assign that behavior to all of them?
B
18
S
8
G
5
Posts: 30
Reputation: 3,908

Post » Mon Feb 27, 2017 5:42 am

Put the behaviour on the Family, and then with all objects in the family, they get that behaviour.
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Mon Feb 27, 2017 5:52 am

Thank you just what I was looking for. So dumb of me I did not see it :(
B
18
S
8
G
5
Posts: 30
Reputation: 3,908


Return to How do I....?

Who is online

Users browsing this forum: David181 and 8 guests