I want an AI that just teleports between designated points at random and doesn’t walk at all but these tutorials I’ve been watching only cover regular combat AIs that just chase the player around and have different states.
Does anyone know to make the AI just move between points with a randomizer to control when? I already have a rough formula in mind involving AI difficulty levels but I am just not sure how to make the AI behave the way that I want it to.
Bad ■■■ work for 20 min! I think what OP is looking for though is more like a “blink” ability( referring to WoW mages) where an enemy AI just pops up in front of the player instead chasing them.
Please correct my logic as your clearly more capable than I, I think what they want would be best controlled in a behavior tree, testing a condition if the AI has acquired a player target, then calling a “teleport to” BTT something along the lines of random bool: branch: if true: get random location in navigable radius(of player): set actor location(AI). With some particle effects being thrown in there. And perhaps orienting the AI rotation towards the player using a parallel control tree in the AI BT
Yes, I am looking for the enemy to instantly move from one point to another in a single frame with no animation. Basically Five Nights at Freddy’s movement, although that game used 2D images whilst I’m using 3D models.
You just need a single Actor with a few target points (2D sprite component). Drop the actor in the world and select the components and move them to the teleport locations.
Have the AI reference the teleport node and request a random target point. Using the Vector returned simply Teleport the AI.
Similar concept with the actor is demonstrated here.