How do I make enemies show text/dialog

Get help using Construct 2

Post » Tue Apr 25, 2017 6:12 am

I have my enemies listed in a family, they also have a "shadow" listed on family that will spawn for each enemy and work as intended since they only trigger two events: spawn or destroy based on pinned.
When i try to make a pinned text or sprite to change based on "on function" or an event like being damaged, all enemies display text.

How could i solve this? I'm working on a beat em up, these are small details to add but would like them to trigger some text when not fighting or to say "ouch" when being hit.
B
14
S
5
G
3
Posts: 22
Reputation: 2,581

Post » Tue Apr 25, 2017 6:22 am

Use a container, so each enemy has a text/sprite associated with it. When the enemy is picked by conditions, the objects in its container will also be picked.
Mistakes were made.
B
52
S
26
G
108
Posts: 1,605
Reputation: 61,131


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, stevo301103, Voytek and 25 guests