Something
public text v1 · immutable if((!_actor.isVisible()) || (!_actor.hasAI()))
setIntention(AI_INTENTION_IDLE);
if((getIntention() == AI_INTENTION_FOLLOW) && (_actor.getKnownList().getKnownPlayers().isEmpty()))
setIntention(AI_INTENTION_IDLE);
if(getIntention() == AI_INTENTION_IDLE)
return;