Set object position for each object

For questions about using Classic.

Post » Thu Oct 06, 2011 3:30 am

Heya guys,

Another super low-level question that hopefully has a really simple answer. o^^o I've dug around on the forums and couldn't find anything addressing this directly so thought I'd ask.

I have multiple instances of "enemy01" on screen and would like to put a "marker" on them. I thought I would be able to simply:

Always, for each enemy01 -> marker: set position to object enemy01 (image point 1)

Obviously the marker isn't showing up though. I'm clearly missing something which I hope is elementary. Does anyone know of a better way to go about this or a simple solution? Cheers guys.
B
4
S
1
G
1
Posts: 12
Reputation: 1,051

Post » Thu Oct 06, 2011 5:43 am

The simplest method would be to add the marker to a container with enemy.
Then make sure you image point is referenced correctly IE strings use quotes. "point"
Image ImageImage
B
169
S
50
G
173
Posts: 8,316
Reputation: 110,276

Post » Thu Oct 06, 2011 6:36 am

Yeah, that totally worked. ^^ Cheers dude.
B
4
S
1
G
1
Posts: 12
Reputation: 1,051


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests