PDA

View Full Version : SetSectorColormap?



Quilty
10-19-2000, 10:37 PM
Does anyone know how to use this verb?

The JKSpecs say:

Use: SetsectorColorMap(sector,colormap int);

"sector" is obvious, but what about "colormap int"? Is this an integer I can name whatever I want in the symbols section? Such as:

int red=01redmap.cmp local

Or does the "colormap int" have a particularized meaning?


I'm using it to change the lighting in several sectors from normal to flashing red. I've got the flashing worked out, now I just need it to be red....

Thanks.

------------------
"Dead Reckoning"
http://www.geocities.com/quilty00

Hideki
10-20-2000, 12:57 PM
It's probably from 0 in order. Do

PrintInt(GetSectorColorMap(sector));

on a sector that you know which color map you've applied, and that will tell you as well.

------------------
http://millennium.massassi.net/ - Millennium

[This message has been edited by Hideki (edited October 20, 2000).]

zagibu
10-21-2000, 08:16 AM
and BTW: you can't apply strings etc to int values, only integer numbers...