Main Page | Recent changes | Edit this page | Page history

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Ai

From EDukeWiki

The ai command is used in two different ways:

  1. To define a combination of actions and movements for an actor to execute.
  2. To execute a predefined ai within the actor's code.

Define an ai outside of the actor code using the following syntax:

ai <name> <action> <move> <type>
<name> is the name of the ai routine.
<action> is the action the actor will display when the ai routine is called.
<move> is the move used during the ai routine.
<type> is a parameter set used for directional functions on the move command.
Values for <type> are:
faceplayer, geth, getv, randomangle, faceplayerslow, spin, faceplayersmart, fleeenemy, jumptoplayer, seekplayer, furthestdir, and dodgebullet. See move for more information.

Execute a predefined ai inside the actor code using the following syntax:

ai <ainame>

Retrieved from "http://localhost../../../a/i/_/Ai.html"

This page has been accessed 443 times. This page was last modified 03:08, 28 August 2006 by EDukeWiki user Usurper. Based on work by Richard Gobeille and Jonathan Smith.


[Main Page]
Main Page
Recent changes
Random page
EDuke32.com

Edit this page
Discuss this page
Page history
What links here
Related changes

Special pages
Bug reports