Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. Version 1
  2. SubGoalCombiner SGC_AND
  3. INITSECTION
  4. ///////////////////////////////////////////////////////////////////////////////////////////////////
  5. // Add global NPCs that need a dialog to the list.
  6. //
  7. // Remember, they only have to be global if they need interaction with the story.
  8. // If they don't need to be global, just add the dialog to the ctrl-B "DefaultDialog" field.
  9. //
  10. // Please keep the list alphabetically ordered, thanks
  11. ///////////////////////////////////////////////////////////////////////////////////////////////////
  12.  
  13. DB_Dialogs(CHARACTER_DArena_NPC_Arena_Master, "DArena_ArenaMaster");
  14. //DB_Dialogs(CHARACTER_DArena_NPC_BLUE_Shop_Skills, "DArena_NPC_BLUE_Shop_Skills");
  15. //DB_Dialogs(CHARACTER_DArena_NPC_BLUE_Shop_Smith, "DArena_NPC_BLUE_Shop_Smith");
  16. //DB_Dialogs(CHARACTER_DArena_NPC_RED_Shop_Skills, "DArena_NPC_RED_Shop_Skills");
  17. //DB_Dialogs(CHARACTER_DArena_NPC_RED_Shop_Smith, "DArena_NPC_RED_Shop_Smith");
  18.  
  19. DB_DialogPlayers();
  20. KBSECTION
  21. IF
  22. DialogStartRequested(_Char, _Player)
  23. AND
  24. DB_Dialogs(_Char, _Dialog)
  25. THEN
  26. DialogStartTwoSpeakerDialog(_Dialog, _Char, _Player);
  27. DB_DialogPlayers(_Player, _Dialog);
  28.  
  29.  
  30. IF
  31. DialogEnded(_Dialog, _ID)
  32. AND
  33. DB_DialogPlayers(_Player, _Dialog)
  34. THEN
  35. NOT DB_DialogPlayers(_Player, _Dialog);
  36. DebugBreak("Dialog ended event recieved");
  37. EXITSECTION
  38.  
  39. ENDEXITSECTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement