SRL Archive - Help

quick scripting help please


jdmzak

2012-01-10 16:49:16

so, i cant wrap my mind on how i would write click spell then click monster. its a spell that cant be set as autocast. i would like to use "cast()" but im not sure how to make it cast at a monster.

i was thinking something like cast, then use findcolorspiral and mmouse? but that seems to much like a macro instead of human, anyone know a good way to write it?

x[Warrior]x3500

2012-01-10 17:07:11

Easiest way in my opinion.

1. use cast('',false);
2. open ACA and create a findobject(); function (finds the monster).
3. put it in you script ;)

EDIT: also, in ACA u will probably want to use CTS 2
EDIT2: your code should eventually look something like this:

cast('spell name here', false);
if(FindMonster(x,y))then
mouse(x,y,0,0,true);

jdmzak

2012-01-10 17:11:42

From: x[Warrior]x3500
Easiest way in my opinion.

1. use cast('',false);
2. open ACA and create a findobject(); function (finds the monster).
3. put it in you script ;)

EDIT: also, in ACA u will probably want to use CTS 2


easy enough, thanks for the quick response broskie