Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   NPC graphics commands (https://forums.graalonline.com/forums/showthread.php?t=20996)

xanatos2003 01-12-2002 03:20 PM

NPC graphics commands
 
What about a command in the scripting that lets you set graphics to go overtop of under like
if(created)npcovertop; and npcundertop;


To explain it better when u have graphics overlapping sometimes u want 1 graphic to show up over the overlapped portion, but you cant because the other npc just seems to go overtop of the one your trying to get to show up this would be very helpfull.......

grim_squeaker_x 01-12-2002 08:27 PM

drawoverplayer;
drawunderplayer;
Also work for drawing over/under other NPCs.

xanatos2003 01-13-2002 06:31 AM

really, thanks a bunch

WHIPENIE4 01-14-2002 02:59 AM

I dont know much about scripting , but for your new command wouldnt it be better if you made it so that it was

if(created)npcovertop,#,#;npcundertop,#,#;
that you put were the ## is what part of the image you want... like pretend the image is 100x100 pixels
you want half on overtop and half undertop
so you'd go
if (created)npcovertop,50,50;npcundertop,50,50;

not sure if i did it right...
but its just to explain it 0.o

Python523 01-14-2002 09:02 AM

Quote:

Originally posted by WHIPENIE4
I dont know much about scripting , but for your new command wouldnt it be better if you made it so that it was

if(created)npcovertop,#,#;npcundertop,#,#;
that you put were the ## is what part of the image you want... like pretend the image is 100x100 pixels
you want half on overtop and half undertop
so you'd go
if (created)npcovertop,50,50;npcundertop,50,50;

not sure if i did it right...
but its just to explain it 0.o

You could make only part of an image show on top now, just use changeimgpart


All times are GMT +2. The time now is 10:27 PM.

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