SRL Archive - Scripting Help

How to...


Hexless V2

2014-01-05 14:52:03

How would I make it so that if simba finds a certain colour in my inventory (in the bottom right slot) it would do something e.g bank or so

(This is for soulsplit btw)
Any help would be awesome, thanks

Hoodz

2014-01-05 15:32:00

@Hexless V2


if FindColor(x, y, YOURCOLORHERE, here the box's coords of your last inv slot) then
begin
writeln('found something in last inv slot');
end
else
begin
writeln('no item in last inv slot');
end;

example of findcolor:

FindColor(x, y, 65535, 683, 419, 731, 463)

masterBB

2014-01-08 18:22:56

Moved to scripting help