Aimer - JohnDoeAntler/LF2-AI-Abstraction GitHub Wiki

An auto aimer, it will automatically adjust the z-axis direction while releasing any object. it works on henry arrows, rudolf shuriken, denis D>A, ... etc.

Constructor

It requires a parameter with datatype Entity to initialize the Aimer.

Aimer(Entity@ pivot)

Properties

No property available.

Methods

autoAim

invoke this method to enable automatic aiming feature.

aimer.autoAim(Entity@ target);

isAiming

this function is a determination function, it used to check whether the aimer is aiming or not.

aimer.isAiming();

Snippets

no snippet available.

⚠️ **GitHub.com Fallback** ⚠️