[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
19
S
9
G
5
Posts: 34
Reputation: 4,093

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
61
S
26
G
30
Posts: 559
Reputation: 20,123

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
19
S
9
G
5
Posts: 34
Reputation: 4,093

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
72
S
22
G
289
Posts: 3,862
Reputation: 158,960

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
19
S
9
G
5
Posts: 34
Reputation: 4,093


Return to How do I....?

Who is online

Users browsing this forum: suman882 and 8 guests