Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Help

Notices

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 25.12.2005, 00:30   #11
filrip
Архивный участник
 
Join Date: May 2005
Posts: 99
Default

call_super

call (launch) the child part of the EventHandler

like :

Code:
class FirstOne : citizen
handler 0 // NO_DESIRE
         <Walk>
handler_end
class_end

class SecondOne : FirstOne
handler 0 // NO_DESIRE
         <Hum...Then Search a target>
         <if NoTarget then>
          call_super
handler_end
class_end
This is just an example, without clean AI code of course

So imagine you have a gremlin, with AI = SecondOne

When it do nothing... it search a target first (SecondOne class). if not found, it call the older handler, so if no target, ... it will walk (FirstOne class) because "SecondOne" AI inherit of "FirstOne" class

I hope im clean. if you dont understand, i will post a real example
filrip is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:37.