Graal Forums

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

porko 02-15-2004 07:21 AM

Statue
 
I need help making a statue in my house that Im making. I need to make the body of the statue body2.png, but when I say setbody body2.png it changes the characters body. What is the correct script?

ZeLpH_MyStiK 02-15-2004 07:51 AM

You havent told us anything about how your npc works, so we can't really help you...

Termina_Owner 02-15-2004 08:21 AM

use

NPC Code:

setcharprop #8,body2.png;


porko 02-16-2004 02:31 AM

thank you :D

WanDaMan 02-16-2004 10:47 AM

There is a pre-made person you know.. All you have to do is set him up... :p

SlikRick 02-16-2004 11:27 AM

but setcharprop #8,

is not a command they have in the regular premade statues ;)

Termina_Owner 02-16-2004 10:55 PM

setcharprop CODEVALUE,NAME;

It's a command. Works.

Your problem would be?

DarkShadows_Legend 02-17-2004 12:42 AM

Hmm isn't there a set of commands like setbody, setshoecolor, etc that is supposed to set your characters looks. What is the difference between those and the setcharprop messagecode,name; ones?

ZeLpH_MyStiK 02-17-2004 01:50 AM

Quote:

Originally posted by DarkShadows_Legend
Hmm isn't there a set of commands like setbody, setshoecolor, etc that is supposed to set your characters looks. What is the difference between those and the setcharprop messagecode,name; ones?
Err there is no such thing? Those are just scripted for the players either in a system npc or a tailor =\

Termina_Owner 02-17-2004 02:53 AM

Quote:

Originally posted by DarkShadows_Legend
Hmm isn't there a set of commands like setbody, setshoecolor, etc that is supposed to set your characters looks. What is the difference between those and the setcharprop messagecode,name; ones?
There is... However:

#1. That's for the player itself.
#2. They are obsolete. (stecharprop are a lot more flexible)

DarkShadows_Legend 02-17-2004 05:05 AM

Quote:

Originally posted by ZeLpH_MyStiK

Err there is no such thing? Those are just scripted for the players either in a system npc or a tailor =\

I'm not talking about the ones scripted in. I mean these below that are in commands.rtf
NPC Code:

setbody filename;
sethead filename;
setplayerdir direction;
setshield imgname,power;
setsword imgname,power;
setskincolor colorname;
setcoatcolor colorname;
setsleevecolor colorname;
setshoecolor colorname;
setbeltcolor colorname;


setsword doesn't work for me either clientside or serverside.
The rest I haven't tried, but I think are supposed to do the same as the setplayerprop command. I guess these are all obsolete like Termina said.

Termina_Owner 02-18-2004 02:24 AM

Quote:

Originally posted by DarkShadows_Legend

I'm not talking about the ones scripted in. I mean these below that are in commands.rtf
NPC Code:

setbody filename;
sethead filename;
setplayerdir direction;
setshield imgname,power;
setsword imgname,power;
setskincolor colorname;
setcoatcolor colorname;
setsleevecolor colorname;
setshoecolor colorname;
setbeltcolor colorname;


setsword doesn't work for me either clientside or serverside.
The rest I haven't tried, but I think are supposed to do the same as the setplayerprop command. I guess these are all obsolete like Termina said.

Obsolete. Use setcharprop / setplayerprop (NPC / PLAYER)

EDIT:
Those ones you mentioned aren't for the NPC as such regardless.


All times are GMT +2. The time now is 12:52 AM.

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