Log in

View Full Version : findsymbol/clicksymbol question



dudeperson
05-04-2007, 01:30 AM
i am looking to click the symbol for the minigame icon... i have tried ClickSymbol(MiniGame: Integer): Boolean;
ClickSymbol(minigame: Integer): Boolean;
and still cant get it to work... any help? i have already done
{.Include SRL\SRL\extended\xSymbol.scar},,,,, my problem is
Line 23: [Error] (14437:13): Unknown identifier 'MiniGame' in script C:\Program Files\SCAR 3.0\Scripts\p1t5pwn3dcompiles.scar

Infantry001
05-04-2007, 01:39 AM
if FindSymbol(x,y,'minigame') then
Mouse(x,y,5,5,true)

dudeperson
05-04-2007, 01:41 AM
tyvm! idk why click didnt work but that one compiles. thx!

Rune Hacker
05-04-2007, 05:40 AM
I never use functions i nthe extended folder because they are out of date i think. Core, misc, and skills are really useful though.

me_ntal
05-04-2007, 05:50 AM
I dont think symbol walking is reliable because they shift a great deal each time the map loads. I use them when i want the script to estabilsh a location for example

if (findsymbol(x,y,'bank')) then
players[currentplayer].loc = 'bank'

this is helpful when setting up a script because you could use it as per
if (players[currentplayer].loc = 'bank') then walktoguild
if (players[currentplayer].loc = 'guild') then mine