Home | Trees | Indices | Help |
|
---|
|
SCA_ILogicBrick.SCA_ILogicBrick --+ | SCA_IActuator.SCA_IActuator --+ | KX_SCA_AddObjectActuator
Warning:
An Add Object actuator will be ignored if at game start, the linked object doesn't exist (or is empty) or the linked object is in an active layer.
This will genereate a warning in the console:
ERROR: GameObject OBName has a AddObjectActuator
ActuatorName without object (in 'nonactive'
layer)
Instance Methods | |||
|
|||
string |
|
||
|
|||
integer |
|
||
|
|||
list [vx, vy, vz] |
|
||
KX_GameObject |
|
||
Inherited from |
Method Details |
Sets the game object to add. A copy of the object will be added to the scene when the actuator is activated. If the object does not exist, this function is ignored. obj can either be a KX_GameObject or the name of an object. |
Returns the name of the game object to be added. Returns None if no game object has been assigned to be added.
|
Sets the lifetime of added objects, in frames. If time == 0, the object will last forever.
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Tue May 20 07:56:37 2008 | http://epydoc.sourceforge.net |