Ai(3)                                                                    Ai(3)



NNAAMMEE
       Ai -

SSYYNNOOPPSSIISS
   PPuubblliicc MMeetthhooddss
       void ssttaarrtt__aacctt (string act)
       void oonn__ttiicckk ()
       void eenndd__aacctt ()
       void ssttaarrtt__aaii ()
       void sseett__ttiicckk__ddeellaayy (int x)
       void oonn__ssoouull (int attribute, object target, object actor, string soul)
       int iiss__hhuunnggrryy ()

DDEETTAAIILLEEDD DDEESSCCRRIIPPTTIIOONN
       This object is designed to provide generic AI for mobs. Well, not even
       AI, just give them something to do, really. I imagine that it will be
       replaced by a real AI system in the near future. But until now, I am
       going to use this because I want to :P

       Definition at line 9 of file ai.c.

MMEEMMBBEERR FFUUNNCCTTIIOONN DDOOCCUUMMEENNTTAATTIIOONN
   vvooiidd eenndd__aacctt (())
       clear the doing string

       Definition at line 130 of file ai.c.

   iinntt iiss__hhuunnggrryy (())
       RReettuurrnnss::
           1 if the object is hungry (below 50% food).

       Definition at line 190 of file ai.c.

   vvooiidd oonn__ssoouull ((iinntt aattttrriibbuuttee,, oobbjjeecctt ttaarrggeett,, oobbjjeecctt aaccttoorr,, ssttrriinngg ssoouull))
       This function is called whenever the living is present for a soul
       Generally, it should be overridden by a mob's specific ai.

       Definition at line 161 of file ai.c.

   vvooiidd oonn__ttiicckk (())
       event to be called every ~30 seconds that keeps the mob doing stuff...
       only, it won't do anything, you should copy this  func into the
       specific ai program and go from there...

       Definition at line 111 of file ai.c.

   vvooiidd sseett__ttiicckk__ddeellaayy ((iinntt xx))
       set delay

       Definition at line 146 of file ai.c.

   vvooiidd ssttaarrtt__aacctt ((ssttrriinngg aacctt))
       begin an activity

       Definition at line 96 of file ai.c.

   vvooiidd ssttaarrtt__aaii (())
       start the tick

       Definition at line 135 of file ai.c.


AAUUTTHHOORR
       Generated automatically by Doxygen for Walraven from the source code.



Walraven                          8 Jan 2004                             Ai(3)
