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

Printable version | Disclaimers | Privacy policy

Not logged in
Log in | Help
 

Useractor

From EDukeWiki

Similar to actor. This defines a new actor in a slightly more specific manner, and it does so without restraining the amount of defined actors. Version 1.3D only allowed so many actors so to add a new one required replacing another. Version 1.5 remedied this with useractor.

useractor <actortype> <name> <strength> <action> <move> <ai> { actor code } enda

<actortype> can either be "enemy", "enemystayput", or "notenemy". These terms are defined in DEFS.CON as:

define notenemy 0
define enemy 1
define enemystayput 2

<name> is the name/tile of the actor. You can either input a defined name, or the tile number directly.

<strength> is the health of the actor. Also see strength.

<action> is the intial action an actor uses (optional).

<move> is the initial move of the actor (optional).

<ai> is the actor's initial ai routine (optional).

{ actor code } is obviously the code for the actor.

enda ends an actor.

Also see actor.

Retrieved from "http://sc8-pr-shell1.sourceforge.net../../../u/s/e/Useractor.html"

This page has been accessed 293 times. This page was last modified 06:53, 25 September 2005 by Richard Gobeille. Based on work by Peter Green, Jonathan Smith and Roger Ondra and EDukeWiki user(s) Usurper. Content is available under SourceForge.


[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