Is it possible to pin every object(same) on the layout ?

Get help using Construct 2

Post » Thu Jun 23, 2016 1:04 pm

I have zombies on the map but when I pin a helper it only pins on one zombie and not the others.

So my question is if its possible to pin every object on a layout ?

If yes, how do you do it ?
B
6
Posts: 16
Reputation: 284

Post » Thu Jun 23, 2016 1:52 pm

for each zombie
--create helper
--pin helper to zombie
ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Post » Thu Jun 23, 2016 10:33 pm

blackhornet wrote:for each zombie
--create helper
--pin helper to zombie


but it will create endless helpers
B
6
Posts: 16
Reputation: 284

Post » Thu Jun 23, 2016 10:51 pm

You need to limit when it runs. Either in "On start of layout", or we'd need a lot more details on what you are doing.
ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Post » Fri Jun 24, 2016 12:22 am

blackhornet wrote:You need to limit when it runs. Either in "On start of layout", or we'd need a lot more details on what you are doing.




Blue thing is the helper but I need to put it on all the other zombies
Image
B
6
Posts: 16
Reputation: 284

Post » Fri Jun 24, 2016 1:02 am

I know what you want, you need to be clear when you want it. Post a CAPX to save time.
ImageImageImage
B
71
S
22
G
259
Posts: 3,794
Reputation: 143,704

Post » Fri Jun 24, 2016 1:17 am

Put the Helper in a Container with the Zombie (this is in the properties of the zombie object) and pin it to the zombie, than it puts a helper to each zombie

Like that: CAPX

The blue box is dragable, the button spawns blue box with helper
B
11
S
4
G
5
Posts: 74
Reputation: 3,435

Post » Fri Jun 24, 2016 9:42 am

Message: issamboy can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
realMantis wrote:Put the Helper in a Container with the Zombie (this is in the properties of the zombie object) and pin it to the zombie, than it puts a helper to each zombie

Like that: https://dl.dropboxusercontent.com/u/11035294/Scirra.com/capx/Pin%20_to_zombie.capx CAPX

The blue box is dragable, the button spawns blue box with helper




Thanks it works :)
B
6
Posts: 16
Reputation: 284

Post » Fri Jun 24, 2016 12:55 pm

Sure thing ;)
B
11
S
4
G
5
Posts: 74
Reputation: 3,435


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 20 guests