New member here, mainly c developer, newer to java, looking to make a cow killing script to warm up. I have read the API.
Using state based scripting, my question is how do I get to check if my character is within a define area assuming I have an area defined.
psuedo code for attacking:
if( in cow pen area ) {
if( not in combat ) {
if( cow is not in combat) {
return State.ATTACK;
}
}
}