Package scripts :: Script dialogueactions :: Class QuestVariableAction
[hide private]
[frames] | no frames]

Class QuestVariableAction

    object --+        
             |        
DialogueAction --+    
                 |    
       QuestAction --+
                     |
                    QuestVariableAction
Known Subclasses:

Base class for QuestActions that modify quest variables.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
Initialize a new QuestVariableAction instance.

Inherited from DialogueAction: __call__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from DialogueAction: registerAction

Class Variables [hide private]

Inherited from DialogueAction: keyword, logger, registered_actions

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

 

Initialize a new QuestVariableAction instance.

Parameters:
  • args (list of objects) - positional arguments (not used).
  • kwargs (dict of objects) - keyword arguments.
  • quest (basestring) - ID of the quest whose variable should be modified.
  • variable (basestring) - name of the quest variable to modify.
  • value (object) - new value that should be used to modify the quest variable.
Overrides: object.__init__