![]() |
|
|
#11 |
|
Архивный участник
Join Date: May 2005
Posts: 99
|
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
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 |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|