Author Topic: Conversation questions.  (Read 545 times)

Legacy_Vincent07

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Conversation questions.
« on: June 26, 2014, 06:12:07 am »


               

First off, is there a tutorial out there for the conversation wizard in the toolset?  I know the basics, but I've seen things done that I have no idea how to go about doing.


 


For instance, having text show up in the conversation that is pulled from a script.  (Like other player's names, variable values etc)


 


Also, starting a conversation with the player that does not fire that 'talking' animation.  I'd prefer if it didn't spin the camera either, but I'm not sure that's possible.


 


Any tips would be appreciated.



               
               

               
            

Legacy_Fester Pot

  • Hero Member
  • *****
  • Posts: 1698
  • Karma: +0/-0
Conversation questions.
« Reply #1 on: June 26, 2014, 02:13:42 pm »


               

Conversation Spin:


 


In the conversation itself, in the lower bottom right of the screen, is a selection of TABs. It defaults on TEXT APPEARS WHEN. There are two little arrows, one pointing left, the other right. Click the RIGHT ARROW until the CURRENT FILE TAB is displayed, and click it.


 


CHECK Stop Camera Zoom In.


 


DONE!


 


Text Pulled From Script:


 


I know how to pull a player's name of their own character via a script to display it in floaty text format, or within the conversation itself, but I'm not familiar on how to snag another player's name. From within the party? All player's online? Can't you just review /listpcs that does this for all players online to understand how it works?


 


Variables are straight forward, since you can use a variety of script calls. GetSkillRank(), GetAC(), GetLocalInt(), etc. You just have to define them.


 


Example:


 


object oPC=GetPCSpeaker();
int iSkill=GetSkillRank(SKILL_BLUFF, oPC);
string sSkill = IntToString(iSkill);
string sBroadcast = "Vincent's Bluff Skill is: "+sSkill+" and that's pretty darn good!";
SendMessageToPC(oPC, sBroadcast);

 


FP!



               
               

               
            

Legacy_Proleric

  • Hero Member
  • *****
  • Posts: 1750
  • Karma: +0/-0
Conversation questions.
« Reply #2 on: June 26, 2014, 10:36:20 pm »


               The basics are in the toolset manual.


For scripting content, see custom token tutorial.


To stop the NPC turning, store their facing in a local variable on spawn, then, on conversation, SetFacing to that value immediately before the action that starts the conversation.


I'm not sure how to stop the conversation animation.
               
               

               
            

Legacy_Vincent07

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Conversation questions.
« Reply #3 on: June 26, 2014, 10:39:00 pm »


               

Oh, I know how to pull things and get a message to the player, that's easy.  What I want to do is pull information and have it display in the conversation window.  I've seen it on other servers.  For example, you use a player tool on a PC, it pulls up a conversation with their name, location etc.  Or say, accessing a player list from within a conversation, populating each 'response' with a player's name.


 


Of course, I also need to figure out how to track who is logged in across multiple server instances.



               
               

               
            

Legacy_Vincent07

  • Jr. Member
  • **
  • Posts: 77
  • Karma: +0/-0
Conversation questions.
« Reply #4 on: June 26, 2014, 10:45:40 pm »


               

Ahh, custom tokens. That's what I need.  Time to learn how to use those.