Inherits Actor::Actor.
List of all members.
Detailed Description
Definition at line 21 of file Avatar.py.
Member Function Documentation
| def cell.Avatar.Avatar.__init__ |
( |
|
self |
) |
|
| def cell.Avatar.Avatar.beginAutoAttack |
( |
|
self |
) |
|
| def cell.Avatar.Avatar.eventUnderAttack |
( |
|
self, |
|
|
|
attackerId, |
|
|
|
eventValue | |
|
) |
| | |
eventUnderAttack is received when ever anything hostile is done to this Actor.
- Parameters:
-
| | attackerId is the entity id of the hostile entity |
| | eventValue is the type of hostile activity |
Definition at line 159 of file Avatar.py.
| def cell.Avatar.Avatar.onTimer |
( |
|
self, |
|
|
|
timerId, |
|
|
|
userData | |
|
) |
| | |
onTimer() is the regular update tick processor for Avatar.
Think of it as Avatar's brain
- Parameters:
-
| | timerId several timers can be started with differing timerIds |
| | userData can be used to pass in info from the function starting the timer |
Definition at line 50 of file Avatar.py.
| def cell.Avatar.Avatar.rpc_setTarget |
( |
|
self, |
|
|
|
id, |
|
|
|
entityId | |
|
) |
| | |
rpc_setTarget is called by the client whenever it targets some entity
- Parameters:
-
| | id is the id of the calling client entity |
| | entityId is the id of the entity being targeted |
Definition at line 89 of file Avatar.py.
| def cell.Avatar.Avatar.rpcAutoAttackToggle |
( |
|
self, |
|
|
|
id | |
|
) |
| | |
this function is a toggle: calling it when already auto attacking will turn auto attack off again
- Parameters:
-
| | id is the id of the client entity making the call |
Definition at line 104 of file Avatar.py.
| def cell.Avatar.Avatar.rpcSay |
( |
|
self, |
|
|
|
id, |
|
|
|
message | |
|
) |
| | |
| def cell.Avatar.Avatar.targetLost |
( |
|
self |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file:
- E:/project/Anoria2/bigworld/anoria/res/scripts/cell/Avatar.py