- Timestamp:
- Aug 1, 2011, 7:09:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/modules/questsystem/QuestEffectBeacon.cc
r8706 r8811 79 79 XMLPortEventSink(QuestEffectBeacon, BaseObject, "execute", execute, xmlelement, mode); //TODO: Change BaseObject to MultiTrigger as soon as MultiTrigger is the base of all triggers. 80 80 81 COUT(4) << "New QuestEffectBeacon created." << std::endl;81 orxout(verbose, context::quests) << "New QuestEffectBeacon created." << endl; 82 82 } 83 83 … … 108 108 if(!(this->isActive())) // If the QuestEffectBeacon is inactive it cannot be executed. 109 109 { 110 COUT(4) << "The QuestEffectBeacon is inactive." << std::endl;110 orxout(verbose, context::quests) << "The QuestEffectBeacon is inactive." << endl; 111 111 return false; 112 112 } … … 128 128 if(player == NULL) 129 129 { 130 COUT(4) << "The QuestEffectBeacon was triggered by an entity other than a Pawn. (" << trigger->getIdentifier()->getName() << ")" << std::endl;131 return false; 132 } 133 134 COUT(4) << "QuestEffectBeacon executed on player: " << player << " ." << std::endl;130 orxout(verbose, context::quests) << "The QuestEffectBeacon was triggered by an entity other than a Pawn. (" << trigger->getIdentifier()->getName() << ")" << endl; 131 return false; 132 } 133 134 orxout(verbose, context::quests) << "QuestEffectBeacon executed on player: " << player << " ." << endl; 135 135 136 136 bool temp = QuestEffect::invokeEffects(player, this->effects_); // Invoke the QuestEffects on the PlayerInfo. … … 221 221 this->effects_.push_back(effect); 222 222 223 COUT(4) << "A QuestEffect was added to a QuestEffectBeacon." << std::endl;223 orxout(verbose, context::quests) << "A QuestEffect was added to a QuestEffectBeacon." << endl; 224 224 return true; 225 225 }
Note: See TracChangeset
for help on using the changeset viewer.