FindSymbol is a procedure in SRL which will find the bitmap of the symbol and return the result, It can be used for a variety of things including : FailSafes, Walking e.t.c.
Usage:
SCAR Code:
If FindSymbol(x, y, 'Fishing Spot') Then
Mouse(x, y, 1, 1, True);
X and Y are the co-ordinates of the found bitmap/symbol. They are used in Mouse which will click the symbol of a fish.
The Valid Arguments:
SCAR Code:
{*******************************************************************************
Valid Arguments are:
- agility - furnace - quest
- altar - gem stall - rare trees, tree
- anvil - guide - sandpit
- apothecary - hair dresser - saw mill
- archery shop - herbalist - scimitar shop
- arrow - house - shield
- axe shop - hunter store - shop, store
- bar - hunter training - short cut
- candle shop - jewelery - silk stall
- churn - kebab shop - silver stall
- clothes shop - mace shop - slayer master
- cookery shop - magic shop - spice stall
- cookery, cook - makeover mage - spinning wheel, spin
- crafing shop - mill - staff shop
- dungeon - minigame - summoning store
- farming shop - mining shop - sword shop
- farming spot - pet shop - training dummy
- fishing shop, fish store - platebody shop - underground
- fishing spot, fish - plateskirt shop - water source, water
- food shop - portal (to player owned houses) - weave
- fur trader - pottery, pot - windmill
*******************************************************************************}
FindSymbolIn also uses the fundamentals of FindSymbol, but an extra add-on is that you can specify the area for it to search in
Usage:
SCAR Code:
If FindSymbolIn(x, y, 'Fishing Spot', 650, 670, 450, 470) Then
Mouse(x, y, 1, ,1 True);
The variables are the same as for FindSymbol, as are the arguments.
The search area Is good for places with 2 of the same symbols e.g Edgeville
.