| Main Page | Recent changes | Edit this page | Page history Printable version | Disclaimers | Privacy policy | Not logged in Log in | Help

# Move

From EDukeWiki

Categories: Duke3D 1.3/1.5 commands | Sprite manipulation

A move command is used to give velocity to an actor.

Define outside an actor as so:

move <name> <horizontal> <vertical>

<name> is the name of the move command.

<horizontal> is the horizontal velocity of the actor. Negative values reverse direction.

<vertical> is the vertical veloctity of the actor. Negative values cause upward motion.

Used inside an actor, a move command is written as:

move <name> <type>

<type> is a parameter set used for directional functions.

Values for <type> are:

faceplayer - actor faces the player.

geth - use horizontal velocity.

getv - use vertical velocity.

randomangle - actor will face random direction.

faceplayerslow - same as faceplayer, but done gradually.

spin - spin in a clockwise circle.

faceplayersmart - same as faceplayer, but with a slight "lead" on position.

fleeenemy - actor faces away from the player.

jumptoplayer - actor will move vertically and then fall as if jumping.

seekplayer - actor will try to find the best path to the nearest player.

furthestdir - actor faces the furthest distance from the closest player.

dodgebullet - actor attempts to avoid all shots directed at him. actors will not avoid GROWSPARK.

Retrieved from "http://sc8-pr-shell1.sourceforge.net../../../m/o/v/Move.html"

This page has been accessed 266 times. This page was last modified 06:50, 25 September 2005 by Richard Gobeille. Based on work by Jonathan Smith. Content is available under SourceForge.

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