View Single Post
  #14  
Old 05-05-2003, 04:36 AM
Falados Falados is offline
Cucumber NPC
Falados's Avatar
Join Date: Jan 2003
Posts: 141
Falados is on a distinguished road
Send a message via ICQ to Falados Send a message via AIM to Falados
Quote:
Originally posted by Python523

i figured so...would it be possible to do
COLOREFFECT PARAM1 PARAM2 PARAM3 PARAM4 PARAM5
?
Maybe, I'd check, but who would want to waste their params on 1 thing? X_X, especially if its a character, you have to be conservative. It would be a lot nicer to edit the image and pass something via an attribute like...

NPC Code:

setplayerprop #P3,r g b;



and then in the script

NPC Code:

tokenize #P3;
setspritecolor 0,strtofloat(#t(0)),strtofloat(#t(1)),strtofloat(# t(2)),1;



Or something of that nature.

Setspritecolor being a new command to edit sprite stuff.
__________________

subliminal message: 1+1=3
Reply With Quote