Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Setshape3 (https://forums.graalonline.com/forums/showthread.php?t=23455)

Faheria_LAT1 02-10-2002 06:33 AM

Setshape3
 
Well.. this one would be for drawoverplayer and drawunderplayer

NPC Code:
setshape3 xtiles,ytiles,{0,1,...} //where 1 = over and 0 = under



example using a bench:

NPC Code:
if (created) {
setshape2 6,4,{0,0,0,0,0,0,22,22,22,22,22,22,22,3,3,3,3,22,2 2,3,3,3,3,22}; // that would make it so that you can go behind
setshape3 6,4,{0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 ,1}; //that would make the non-blocking part over the player and the chair and blocking part under the player;
}



I also need that because in one of the npcs i need to cut the parts where its over/under players and dont want to use showimgpart cause that would make too many npcs in the level resulting in them not showing online -_-'
I have many other use for this and I really hope this can be added to the next version ^_^x

~Silver Heimdall

Dustey 02-10-2002 06:40 AM

good idea:cool: Stefan ull hafta put this in. *Hmmm... maybe it already in and he forgot to tell any buddy about it*

OutlawP2P 02-10-2002 08:53 AM

Quote:

Originally posted by Dustey
good idea:cool: Stefan ull hafta put this in. *Hmmm... maybe it already in and he forgot to tell any buddy about it*
any buddy? you mean anybody?

x_x

Dustey 02-10-2002 09:19 AM

Once in a while i might spell something wrong sorry:p wat kan I saw am graalian:confused:

Faheria_GP2 02-10-2002 09:23 AM

setshape2 has the nonblocking and blocking, why would you need a downgraded version of it?

Dustey 02-10-2002 09:30 AM

Quote:

this one would be for drawoverplayer and drawunderplayer
how can u call that a downgrade? all he means is something so u can select which parts of an image will be drawnunder the player and which parts will be drawnover the player :confused:

Faheria_GP2 02-10-2002 09:49 AM

oh...I seem to get it now, well, the name setshape3 is misleading...anyways, that does seem to be a nice idea

Faheria_LAT1 02-10-2002 10:02 AM

Quote:

Originally posted by Faheria_GP2
oh...I seem to get it now, well, the name setshape3 is misleading...anyways, that does seem to be a nice idea
I used setshape3 because there are no commandnamehere3 commands :p

Dustey 02-10-2002 11:44 PM

it is sorta misleading maybe setdraw or somethin

Falcor 02-11-2002 02:25 AM

maybe...

drawlayer width,hieght,{0,1,0,0,0,1};
and maybe for showimg too :)
setimgdraw index,width,hieght,{0,1,0,0,0,1};

G_yoshi 02-11-2002 04:31 AM

actually, having a second or third tile layer would be nice :)

LiquidIce00 02-12-2002 04:16 AM

cant u do it with attachplayer stuff already?

TDO2000 02-12-2002 04:27 AM

Quote:

Originally posted by LiquidIce00
cant u do it with attachplayer stuff already?
Not like he wished it to be...

LiquidIce00 02-12-2002 05:49 AM

i believe NW levels have layers, but Stefan is to enable them or soemthing O.o

TDK_RC6 02-12-2002 08:10 PM

cool beans


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

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