NPC Dialog Chat Bubbles: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
Upon Client sending a user Action the following code is triggered: | Upon Client sending a user Action the following code is triggered: | ||
* EntityManager::HandleUserAction | * EntityManager::HandleUserAction , searches the target object | ||
**gemNPC::SendBehaviorMessage | **gemNPC::SendBehaviorMessage, executes this on the target object | ||
*** on "talk" it calls: gemNPC::ShowPopupMenu | *** on "talk" it calls: gemNPC::ShowPopupMenu | ||
**** void NpcDialogMenu::ShowMenu | **** void NpcDialogMenu::ShowMenu |
Latest revision as of 15:40, 24 March 2018
Upon Client sending a user Action the following code is triggered:
- EntityManager::HandleUserAction , searches the target object
- gemNPC::SendBehaviorMessage, executes this on the target object
- on "talk" it calls: gemNPC::ShowPopupMenu
- void NpcDialogMenu::ShowMenu
- on "talk" it calls: gemNPC::ShowPopupMenu
- gemNPC::SendBehaviorMessage, executes this on the target object