Graal Forums

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

RTelvecho 01-12-2003 04:48 AM

Help..
 
Ok umm im working on something and I want to display a npc which looks like me (using show img). I am wondering how I could change the belt color... example:

NPC Code:

if (created) {
showimg 1,#8,x,y;
changeimgpart 1,64,0,32,32;
}


I tried showani... Im sure theres another way, I just have the wrong one (i think). :confused:

Ethic_Sern 01-12-2003 04:51 AM

use
if (created) {
showcharacter;
setcharprop #3,;
setcharprop #C0,;
setcharprop #C1,;
setcharprop #C2,;
setcharprop #C3,;
setcharprop #C4,;
setcharprop #2,;
shieldpower = 1;
}

RTelvecho 01-12-2003 05:26 AM

Quote:

Originally posted by Kaimetsu
I'm guessing he doesn't want to make an NPC for it.
Yes, and if I used your way I could only display one :(

Dach 01-12-2003 08:03 AM

1 Attachment(s)
You can't change the colors of the body with showimg. You'll have to use showani.

You ought to put something in that script to change the dir of the img to copy your's. And if you want to go further than I did, add something to change the sprite to copy yours.

Goboom 01-12-2003 11:01 PM

Quote:

Originally posted by Dach
You can't change the colors of the body with showimg. You'll have to use showani.

You ought to put something in that script to change the dir of the img to copy your's. And if you want to go further than I did, add something to change the sprite to copy yours.

o.o BIG CLOCK! ALOT OF CLONES...I THINK THEY THINK ITS A COOKIE W/ RED AND YELLOW SPRINKLES!

RTelvecho 01-12-2003 11:27 PM

Quote:

Originally posted by Dach
You can't change the colors of the body with showimg. You'll have to use showani.

You ought to put something in that script to change the dir of the img to copy your's. And if you want to go further than I did, add something to change the sprite to copy yours.

No, dood If i did show ani, I couldnt change a specific show ani.. like

theres two showanis right, and u set the shar prop and stuff, it wouldnt change... it would change for both.. understand what im saying?

Dach 01-13-2003 12:35 AM

Quote:

Originally posted by RTelvecho
No, dood If i did show ani, I couldnt change a specific show ani.. like

theres two showanis right, and u set the shar prop and stuff, it wouldnt change... it would change for both.. understand what im saying?

Yeah, but that's the only way you can change the color w/out using a showcharacter npc.


All times are GMT +2. The time now is 12:13 PM.

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