Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Scripting Ideas (Yes, more ideas) (https://forums.graalonline.com/forums/showthread.php?t=13225)

Warcaptain 09-29-2001 01:49 AM

Scripting Ideas (Yes, more ideas)
 
Here are some ideas I think would be real cool.

NPC Code:

replacecolor string,red,green,blue,newred,newgreen,newblue;



Replaces the color designated inside the string.

so you can do things like new body shapes, or make larger bodies for your playerworld.

NPC Code:

imagescount
images[i].width
images[i].height
images[i].x
images[i].y
images[i].layer
images[i].partx
images[i].party
images[i].parthoriz
images[i].partvert



its pretty much self explanitory, if you dont understand it, you really dont need to be using it.
:rolleyes:


The variable is different for each npc, so if you did showimg 400,blah,blah,blah;
and didnt show 0,399, it would still have 1 as the count.
this would be an easy way to change x,y of images and parts etc, easily without having to declare the other part, like if you declare the partx, you wouldnt have to do party, which might cause bugs or bugs.

SSj_Link 09-29-2001 02:35 AM

no comment

-freaky-

btedji 10-02-2001 04:22 AM

sounds like good ideas to me

Shard_IceFire 10-02-2001 04:47 AM

=/ I dunno...maybe.

btedji 10-02-2001 05:45 AM

a "replacesound" type command would also be useful


All times are GMT +2. The time now is 04:58 AM.

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