Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   showimg (https://forums.graalonline.com/forums/showthread.php?t=30558)

BBflat 06-01-2002 09:52 AM

showimg
 
Okay, so... I made this thing. It uses a whole bunch of showimgs, and I am having some problems with some of the overlapping images. Here is my problem...

Imagine this was what I was working on.

NPC Code:

*******
*1 *
* *** *
* *2* *
* *** *
* *
*******


Imagine that 1 and 2 are rectangles. I do something like this...

NPC Code:

showimg 314,1.gif,playerx,playery;
showimg 314159,2.gif,playerx + 2,playery + 5;


As it turns out, 1 covers up 2, and I want 2 to cover up 1. How do I fix this without changing either image?

Spanko 06-01-2002 06:18 PM

For clarity, the higher the second number you put in changeimgvis is, the more it'll be drawn over.
0-3, is from drawunderplayer, to drawasplayer, to drawoverplayer to drawovereverything.
4+, is that it'll be drawn on a position in the player's Graal window.

BBflat 06-02-2002 12:21 AM

Thanks.


All times are GMT +2. The time now is 04:54 PM.

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