Welcome to the Creatures Wiki! Log in and join the community.

Difference between revisions of "ELAS"

From Creatures Wiki
Jump to navigation Jump to search
(2 in as many days?!? I'm on a rampage aint I? ;-))
 
m (physics link)
Line 1: Line 1:
<b>ELAS</b> is a [[CAOS]] command used set or output how bouncy an agent is.
+
<b>ELAS</b> is a [[CAOS]] command used set or output how [[physics|bouncy]] an agent is.
  
 
==ELAS for Input==
 
==ELAS for Input==

Revision as of 23:01, 21 June 2005

ELAS is a CAOS command used set or output how bouncy an agent is.

ELAS for Input

Syntax: ELAS elasticity(int)

Standalone command.
Sets the elasticity of an agent in percent, the agent will bounce X percent of the height it fell from, X being the number stored in its ELAS property.

ELAS for Output

Syntax: ELAS

Used in place of a numeric constant or variable.
Returns the number stored in the current TARGs ELAS property.

Examples

ELAS being used in the command line to make HOTS bounce perfectly:

TARG HOTS ELAS 100 




Being used in the command line to output the ELAS of HOTS:

TARG HOTS OUTV ELAS