set position to image point

Get help using Construct 2

Post » Tue Feb 04, 2014 5:22 pm

Hello, I have a problem that is really annoying.I want to set position of my sword to the player.I know that you can write:

X:player.X
Y:player.Y

But that sets position to origin point and i would like to know how to do the same thing only to the image point.
Thanks in advance,
                  Mihovil
B
7
S
2
Posts: 102
Reputation: 975

Post » Tue Feb 04, 2014 5:26 pm

x = player.imagepointx(1)
y = player.imagepointy(1)

for imagepoint 1
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Feb 04, 2014 5:48 pm

Ahhhhh thank you VERY much. Cheers man
B
7
S
2
Posts: 102
Reputation: 975


Return to How do I....?

Who is online

Users browsing this forum: maddy467, work3 and 8 guests