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
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