PDA

View Full Version : minor help please



trueoutsoldier
02-15-2016, 05:14 PM
Working on a hunting script. I have the meat already, I'm just missing a few little things.

I'm trying to make it use cman sweep while the target is standing, then hide/ambush while they are prone.

Mostly I'm missing how to check if the target is prone, and what the number value for sweep is.

This is what I have now to hide and ambush.

def kill(target)
loop{
stand()
hide()
if target.status !~ /dead|gone/ && !Spell[9607].active?
change_stance('offensive')
fput "ambush"
waitrt?
else
change_stance('defensive')
break
end
}
end

Donquix
02-15-2016, 06:58 PM
http://forum.gsplayers.com/showthread.php?96354-Learn-how-to-script-with-this-simple-hunting-script&highlight=creature+prone