Public Member Functions | Public Attributes

base.Actor.Actor Class Reference

List of all members.

Public Member Functions

def __init__
def addEventProc
def rpcProcessEvent
def rpcDeathLoc
 This RPC function is called by the cell component of actors to notify the base of the whereabouts of the entity's death.

Public Attributes

 deathPosition
 deathDirection
 isPlayer
 eventProc

Detailed Description

Definition at line 10 of file Actor.py.


Member Function Documentation

def base.Actor.Actor.__init__ (   self  ) 

Definition at line 12 of file Actor.py.

def base.Actor.Actor.addEventProc (   self,
  eventId,
  proc 
)

Definition at line 22 of file Actor.py.

def base.Actor.Actor.rpcDeathLoc (   self,
  position,
  direction,
  modelNumber 
)

This RPC function is called by the cell component of actors to notify the base of the whereabouts of the entity's death.

The base component does not normaly have or require spatial information but here it is required in order to properly have the MORGUE create a corpse entity at the right spot. Additionaly we trigger the respawn of dead Player Avatars here.

Parameters:
 position vec3 death location
 direction vec3 orientation

Definition at line 55 of file Actor.py.

def base.Actor.Actor.rpcProcessEvent (   self,
  sourceId,
  eventType,
  eventValue 
)

Definition at line 31 of file Actor.py.


Member Data Documentation

Definition at line 14 of file Actor.py.

Definition at line 13 of file Actor.py.

Definition at line 16 of file Actor.py.

Definition at line 15 of file Actor.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Properties