AI / Model nodes
Object detection backed by trained models from the AI Models catalogue.
Object Detection
Model-based object detection.
In: Window:HWND, Model:String, Confidence:Float
Out: Result:ModelResult, Objects:ModelResult, Found:Bool, Count:Int, Pos:Vec2, Confidence:Float
Pick a model from the AI Models catalogue.
Object Detection(enemy) → If Found → Move Click(Pos).
Objects Detection (All)
Returns every object found by the model.
In: Window, Model, Confidence
Out: Objects, Found, Count, Pos, Confidence
Use for further filtering / sorting downstream.
Objects Detection All → Detection By Index.
Closest Object Detection
Picks the found object closest to Reference.
In: Window, Model, Confidence, Reference:Vec2
Out: Pos:Vec2, Result:ModelResult
Reference is usually the screen / character centre.
Reference=(960,540) → Closest Object → Mouse Move.
Coordinate Detection
Returns just the object coordinate from the model.
In: Window, Model, Confidence
Out: Pos:Vec2
When only the target point is needed.
Coordinate Detection → Mouse Move Smooth.
Class Detections
Returns objects of a specific class id.
In: Window, Model, Confidence, ClassId:Int
Out: Found, Count, Pos, Confidence
ClassId matches the classes of the trained model.
ClassId=0 enemy, ClassId=1 item.
Closest Class Object
Picks the closest object of a given class to Reference.
In: Window, Model, Confidence, ClassId:Int, Reference:Vec2
Out: Found, Pos, Distance:Float, Confidence
Use to pick the nearest enemy / item.
Closest Class(ClassId=enemy, Reference=center) → click.
Detection By Index
Reads one detection from the current model output by index.
In: Window, Model, Confidence, Index:Int
Out: Found, ClassId, Pos, Size, Confidence
Iterate over objects by their index.
Index=0 → first object, Index=1 → second.
Ignore AI Object
Add a rectangle to the AI ignore list.
In: Rect X/Y/W/H:Int
Out: exec Out
Ignore an area of the UI that a model keeps hitting.
Clear AI Ignore List
Empty the AI ignore list.
In: —
Out: exec Out
Clear AI Ignore at scene change.