Forum

> > CS2D > Scripts > Get back of image.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Get back of image.

2 replies
To the start Previous 1 Next To the start

old Get back of image.

Mami Tomoe
User Off Offline

Quote
Hi, how can I know if I hit the back of an image using the
hitzone
hook?

It would be considered easy if my image hadn't rotated but it does...
1
2
Image size: 311x288
Rotation: Any

old Re: Get back of image.

Baloon
GAME BANNED Off Offline

Quote
To get image's rotation use
object(image_id, 'rotvar')
since dynamic images also considered as objects.

old Re: Get back of image.

Mami Tomoe
User Off Offline

Quote
I already have the rotation saved, I need to know if the player hit the front or the back of the image using the hitzone hook.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview