Forum

> > CS2D > Scripts > Get back of image.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Get back of image.

2 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Get back of image.

Mami Tomoe
User Off Offline

Zitieren
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

alt Re: Get back of image.

Baloon
GAME BANNED Off Offline

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

alt Re: Get back of image.

Mami Tomoe
User Off Offline

Zitieren
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.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht