# IScriptNpc.clearPatrolPoints [← IScriptNpc](index.md) · [← Master](../../wiki.md) Parça 2/2 · [önceki](clearPatrolPoints.md) void setCanSwim(boolean canSwim) Sets whether the NPC can swim. void setDamage(float damage) Sets the damage strength points of the NPC. void setDamageDelay(int damageDelay) Sets the damage delay of the NPC. void setImmovable(boolean immovable) Sets whether the NPC is immovable. void setInvincible(boolean invincible) Sets whether the NPC is invincible. void setJumpPower(float jumpHeight) Sets the jump power of the NPC. void setKillable(boolean killable) Sets the killable status of the NPC. void setLookAround(boolean lookAround) Sets the status of the NPC's idle look around behavior. void setLookAtPlayer(boolean lookAtPlayer) Sets the status of the NPC's behavior to look at the player.