Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-29-2001, 01:49 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Lightbulb 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.



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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:30 AM.


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