![]() |
Hrm, images question
Is there any way to make the top half of an image draw over the player and the bottom draw under without using separate images?
|
Well, set an NPC to the image and dont do drawunderplayer() or drawoverplayer(). Should do what you want in most cases. Not possible with showimg() objects afaik, but I hope this will be changed.
|
Quote:
|
Open it up with a text editor (the gani of course), then below the default head/parameter stuff put SCRIPT (yes, CAPS), then your script there, then put SCRIPTEND and thats it ;D
|
Quote:
|
If you need some references, go on Zone if you didnt do that already in the past, then open up the zone_chat*.gani files in your gani folder ;)
Edit: Gani scripts also support GS2 btw, I dont know why Zone's chat ganis are still using GS1. |
The chat ani is zone_chat2.gani, which is using if (playerenters) so that it receives the setani parameters in params[]. We usually don't update fine working scripts :) The zone2_*_mech.ganis could also be interesting for you.
|
You can use one image in a gani... any part of the image above the 0 y-coordinate will display over the image, and part under will display under the player.
Try messing with that. |
Quote:
HTML Code:
changeimgvis(index, 1); |
Quote:
|
It won't show the image half way through another though. Graal images are pretty much like cards standing up vertically on a table.
|
| All times are GMT +2. The time now is 08:54 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.