Package pajammin :: Package ai :: Package script :: Module walker
[show private | hide private]
[frames | no frames]

Module pajammin.ai.script.walker

AI script tasks for Walker agents. All of these tasks take a Walker as their constructor's first argument.
Classes
AttackAvatar Attack the avatar once, using a randomly selected attack type.
AttackTarget Attack the given target once using the attack type with the given name, or with a random attack type if no attack type is specified.
Defend Defend a given area from any hostile agents.
Jump Make the agent jump, with the given speeds and direction.
JumpOff Make the agent jump off the side of a surface, by moving it in a given direction with a given speed, and waiting until it becomes unsupported.
LandOn Wait until the agent lands on a given surface, and then succeed.
TargetInMeleeRange True if the target is currently in range of the agent's given melee attack.
TargetWillBeInMeleeRange True if the target will be in range of the agent's given melee attack when the given melee attack actually fires, if the attack is initiated right now (given the target's current velocity).
WalkAround Move a walker around randomly.
WalkPath Walk along a given path from the path planner...
WalkToEntity Move the agent so that it is standing at the same position as the given target entity.
WalkToPos Move the agent so that the midbottom of its body is at the given position, using the path planner to choose a route.
WalkToX Move the agent to the given x position, by walking left or right.
WalkUpToEntity Move the agent so that it is standing next to the given target entity, and facing towards it.
Wander Walk around in a random way.