
Originally Posted by
Fishh
Hey, I'm having some problems with UpText, I cannot distinguish between the fishing spots 'Cage, Harpoon' and 'Net, Harpoon'.
If I remove the 'Fishing', 'spot' from the UpText, the cursor will move very rapidly between all fishing spots on the screen and then do nothing. With them, it will select the spots and right click them, just not the correct spots.
Could someone tell me if I'm missing something out/doing anything wrong, or is UpText for '07 just not working at the moment?
I haven't added PlayerDeclare yet because I'm just trying to get the spot selection working correctly first.
Thanks very much for any help, I've been reading through tons of tutorials, other scripts for examples and still can't solve it.
your issue would be around the command:
Simba Code:
If P07_FindObjCustom(x, y, ['Cage', 'age', 'Fishing', 'spot'], [14597535, 14597268, 15123625, 14398100, 15058085], 5) then
The Uptext strings you send it allow for any ONE of them to be true, for it to consider using that spot (also, 'age' is inside 'Cage'). So, any fishing spot will be guaranteed to be considered true. I recommend trying to use something like this:
Simba Code:
If P07_FindObjCustom(x, y, ['Cag', 'age', 'ge F'], [14597535, 14597268, 15123625, 14398100, 15058085], 5) then