Ai: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
No edit summary
 
Mblackwell (talk | contribs)
No edit summary
Line 9: Line 9:
<move> is the [[move]] used during the ai routine.
<move> is the [[move]] used during the ai routine.


<type> is a parameter set used for special functions on the [[move]] command.
<type> is a parameter set used for directional functions on the [[move]] command.


Values for <type> are:
Values for <type> are:


faceplayer, geth, getv, randomangle, faceplayerslow, spin, faceplayersmart, fleeenemy, jumptoplayer, seekplayer, furthestdir, and dodgebullet. See [[move]] for more information.
faceplayer, geth, getv, randomangle, faceplayerslow, spin, faceplayersmart, fleeenemy, jumptoplayer, seekplayer, furthestdir, and dodgebullet. See [[move]] for more information.

Revision as of 23:58, 22 December 2004

A set of code used in a routine to operate an actor. Not usually needed.

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.