Core/SmartAI: remade 'Say' handler, more simple, more usable, you can now script multiple npc conversations from one script
-also added 'entry' to text_over event --HG-- branch : trunk
This commit is contained in:
1 parent
e68c149e69
commit
d568fcf273
4 files changed
+38
-40
No files matched your search
@@ -153,7 +153,6 @@ class SmartScript
|
||||
}
|
||||
|
||||
ObjectListMap* mTargetStorage;
|
||||
void ResetTexts() { mTextIDs.clear(); }
|
||||
|
||||
void OnReset();
|
||||
void ResetBaseObject()
|
||||
@@ -205,11 +204,12 @@ class SmartScript
|
||||
SmartAIEventList mStoredEvents;
|
||||
std::list<uint32>mRemIDs;
|
||||
|
||||
std::vector<uint32>mTextIDs;
|
||||
uint32 mTextTimer;
|
||||
uint32 mLastTextID;
|
||||
uint64 mTextGUID;
|
||||
Creature* talker;
|
||||
bool mUseTextTimer;
|
||||
|
||||
SMARTAI_TEMPLATE mTemplate;
|
||||
void InstallEvents();
|
||||
|
||||
|
||||
Reference in new issue
Block a user