I'm new to Simba and scripting, so of course I'm having issues. Sorry if these are nooby issues, but I guess they are what they are...
So here's my first script:
I'm trying to get Simba to find the Goblin using the DTM points I picked out and then move my mouse to the Goblin that it found. I was just following a YouTube video on finding DTM's so I'm not entirely sure what I'm doing, but I get this error when running it:Code:program CalebFighter; {$I srl/srl.simba} var Goblin, x, y: integer; begin Goblin:= DTMFromString('mggAAAHicY2NgYNjCyMBwCoh3A/FpIN4OxOeA+CdQjgdKswDpt0D6PxBz+nIycHpCMIMzkA7nA9O4ACMODAEACGQKpw=='); FindDTM(Goblin, x, y); MoveMouse(x, y, 0, 0); FreeDTM(Goblin); // This is Line 11 in the error end.
And to further this script, can anyone tell me what the NEXT step would be after I successfully get Simba to move the mouse to the Goblin?Code:[Error] C:\Simba\Scripts\CalebFighter.simba(10:24): Invalid number of parameters at line 11 Compiling failed.


Reply With Quote

