 |
;;------------------------------------------------------------------------
Object Function: shift_rand_table
Usage: (shift_rand_table n)
Returns: T or nil
Not a clue. Again, it looks like something to seed a random
number generator.
;;------------------------------------------------------------------------
Function: show_help
Usage: (show_help string)
Returns: dunno
Displays that little message across the top of the screen.
;;------------------------------------------------------------------------
Object Function: site_angle
Usage: (site_angle object)
Returns: target angle
Determines the angle from the current object to [object]. Essentially,
does the subtraction and atan2 for you, I suppose.
;;------------------------------------------------------------------------
Object Function: state
Usage: (state)
Returns: the object's current state
Picks out the state of the current object. Can be used with (aistate)
to figure out what to do in an ai_fun. For example, you might
say (if (eq (state) stopped) (blah) nil).
;;------------------------------------------------------------------------
Object Function: state_time
Usage: (state_time)
Returns: how long an object has been in this state
Use (state_time) to determine how long the current object has been
in this state. Cool when you want someone to stop for a while, I
... Далее >>
|