|
LPC Library Functions: command |
|
NAMEcommand() - execute a command as if given by the object
SYNOPSISint command( string str );
DESCRIPTIONExecute the command 'str' for this_object(), as if the player had typed the command in. command() returns a numeric value roughly to the driver's "evaluation cost"; this number is only an approximation. If you need precise benchmarks, try time_expression() instead. Note that this efun is not available if the driver flag NO_ADD_ACTION is defined. SEE ALSO |
|
Page design by Frank Jacquette & Tim Hollebeek Copyright (C) 1998 Tim Hollebeek & Frank Jacquette |
|