Files

9 lines
467 B
Markdown

# IScriptEntity.addEntityPatrol
[← IScriptEntity](index.md) · [← Master](../../wiki.md)
addEntityPatrol(double x, double y, double z, double speed, boolean shouldCirculate, java.lang.String executeCommandOnArrival)
void Adds a patrol point to the entity var s = c.getSubject(); s.addEntityPatrol(440, 117, 640, 1, true, "particle heart ~ ~1 ~ 0.2 0.2 0.2 1")
s.addEntityPatrol(444, 117, 640, 1, true, "particle angryVillager ~ ~1 ~ 0.2 0.2 0.2 1")