SRL Archive - Help and Support

how do i use FindColorRecord


Shuttleu

2008-08-13 10:41:33

i want to find the color of a road but i dont want to create a whole new autocoloring function

if i write the function like this
FindColorRecord(x, y, 8291207);
then i get a type missmach error
so im guessing its because of the color is ment to be a TAutoColorInfo instead of a integer but how do i use TAutoColorInfo's

i looked in Object.scar and found it was a type but i dont understand types

please help

~shut

Timer

2008-08-13 10:42:28

Search Before You Waist Peoples Time… -.-
http://www.villavu.com/forum/showthread.php?t=32668

Sumilion

2008-08-13 10:43:15

http://www.villavu.com/forum/showthread.php?t=32668?t=35403&highlight=FindColorRecord

;)

the scar noob

2008-08-13 10:43:41

From: Shuttleu
i want to find the color of a road but i dont want to create a whole new autocoloring function

if i write the function like this
FindColorRecord(x, y, 8291207);
then i get a type missmach error
so im guessing its because of the color is ment to be a TAutoColorInfo instead of a integer but how do i use TAutoColorInfo's

i looked in Object.scar and found it was a type but i dont understand types

please help

~shut


You have to setup a lot of stuf, Sum made a thread about it,search for it.

BTw I told him at msn, could be he'll come to here and reply/help you:D

-Tsn.

EDIT: Sum ownd me, he was slightly faster:p

Shuttleu

2008-08-13 10:45:04

thank you sumilion

i did search but it didnt come up with that :p

~shut