SRL Archive - General

scripting again


takeout

2007-09-11 13:43:11

hello, i decided to start scripting again after about 6 months and i cant remember much, could somone tell me the following?

find colour in game

find colour on mini map

and reading npc text

i would really like it if you could tell me thx :)

gerauchert

2007-09-11 14:06:23

if you have SRL, just look in your includes SRL folder and go into the core folder and it will have any function/procedure that you desire…

FindColor(x,y,THECOLOR,MSX1,MSY1,MSX2,MSY2); is the basic function for finding color on the main screen…if you want it to be on the minimap just change the MS to MM, and if you want it in inventory change it to MI, chat box is MC ect….

hope that helps