Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Gani Construction (https://forums.graalonline.com/forums/forumdisplay.php?f=50)
-   -   Help with ATTACHSPRITE and ATTACHSPRITE2 (https://forums.graalonline.com/forums/showthread.php?t=75689)

Switch 07-19-2007 07:37 PM

Help with ATTACHSPRITE and ATTACHSPRITE2
 
I need help with using ATTACHSPRITE and ATTACHSPRITE2.


ATTACHSPRITE 100 170 -4 -8

What would that mean? (It's from human2_idle.gani, the first "ATTACHSPRITE" command in it)
If you could tell me what that means, and what ATTACHSPRITE2 means, I'd be very appreciative. ;)

CheeToS2 07-19-2007 09:04 PM

The first parameter is the sprite you want to attach a sprite to. The second is the sprite you're going to attach to the first. The last two are the x/y you want to attach the second sprite to in relation to the first. In your example, sprite 170 would be attached to sprite 100 up and to the left a bit. The difference between ATTACHSPRITE and ATTACHSPRITE2 is whether the second sprite gets attached above or below the first.

Switch 07-19-2007 11:33 PM

Oh ok ty :D


All times are GMT +2. The time now is 07:56 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.