85 lines
1.9 KiB
Markdown
85 lines
1.9 KiB
Markdown
# IScriptNpc.clearPatrolPoints
|
|
|
|
[← IScriptNpc](index.md) · [← Master](../../wiki.md)
|
|
|
|
Parça 1/2 · [sonraki](clearPatrolPoints-2.md)
|
|
|
|
clearPatrolPoints()
|
|
|
|
|
|
|
|
void Removes all NPC's patrol points.
|
|
|
|
boolean doesLookAround()
|
|
Gets the status of the NPC's idle look around behavior.
|
|
|
|
boolean doesLookAtPlayer()
|
|
Gets the status of the NPC's behavior to look at the player.
|
|
|
|
boolean doesWander()
|
|
Gets the wandering status of the NPC.
|
|
|
|
void follow(java.lang.String target)
|
|
Make NPC follow a target.
|
|
|
|
float getAttackRange()
|
|
Gets the attack range of the NPC.
|
|
|
|
float getDamage()
|
|
Gets the damage strength points of the NPC.
|
|
|
|
int getDamageDelay()
|
|
Gets the damage delay of the NPC.
|
|
|
|
java.lang.String getFaction()
|
|
Returns the faction of the NPC as a string c.send(c.getSubject().getFaction())
|
|
|
|
float getJumpPower()
|
|
Gets the jump power of the NPC.
|
|
|
|
EntityNpc getMappetNpc()
|
|
Get Mappet entity NPC instance.
|
|
|
|
java.lang.String getNpcId()
|
|
Get NPC's NPC ID.
|
|
|
|
float getNpcSpeed()
|
|
Gets the speed of the NPC.
|
|
|
|
java.lang.String getNpcState()
|
|
Get NPC's state.
|
|
|
|
float getPathDistance()
|
|
Gets the path distance of the NPC.
|
|
|
|
float getShadowSize()
|
|
Gets the shadow size of the NPC.
|
|
|
|
java.util.List<ScriptVector> getSteeringOffsets()
|
|
Gets the steering offset of the NPC.
|
|
|
|
int getXpValue()
|
|
Gets the XP value of the NPC.
|
|
|
|
boolean isImmovable()
|
|
Checks if the NPC is immovable.
|
|
|
|
boolean isInvincible()
|
|
Checks if the NPC is invincible.
|
|
|
|
boolean isKillable()
|
|
Gets the killable status of the NPC.
|
|
|
|
void removePatrolPoint(int index)
|
|
Removes a patrol point at a certain indext from the NPC.
|
|
|
|
void removePatrolPoint(int x, int y, int z)
|
|
Removes a patrol point at a certain position from the NPC.
|
|
|
|
void setAttackRange(float sightDistance)
|
|
Sets the attack range of the NPC.
|
|
|
|
void setCanBeSteered(boolean enabled)
|
|
Sets whether the NPC can be steered.
|
|
|