Author Topic: Conversation Help  (Read 3191 times)

Legacy_Omega27

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: +0/-0
Conversation Help
« on: April 25, 2011, 11:20:28 pm »


                 Would like to say sorry if this question has already been asked. 

But i would like to know how to have:
Ex-
(Boat Cap): Hi there where would you like to go?.

Giving the player a list of selections to go and after clicking on one is moved/sent to that location.

Can anyone help me out with this?
               
               

               
            

Legacy_Greyfort

  • Sr. Member
  • ****
  • Posts: 442
  • Karma: +0/-0
Conversation Help
« Reply #1 on: April 26, 2011, 12:07:33 am »


               1st in conversation sart with NPC "Hi ware to"
then PC replies...
NPC"Hi ware to.."
-PC"Port Town"
-PC"Salty Sally"
etc ....
on the action taken tab of conversation you must type a script like so...

// captn_jump1
/*
   you will need to make a script like this for every place you wish to
   jump the player to/ what ever is in you rlist
*/
void main()
{
object oCaptn = OBJECT_SELF;//NPC
object oPC= GetPCSpeaker();//PC

// this object is a custom waypoint you placed in area to jump to
object oJumpObj = GetObjectByTag("WP_porttown");//

// this clears PC actions and jumps them
AssignCommand(oPC,ClearAllActions(TRUE));
AssignCommand(oPC, JumpToObject( oJumpObj ));
}

any questions let us know
               
               

               
            

Legacy_Omega27

  • Sr. Member
  • ****
  • Posts: 255
  • Karma: +0/-0
Conversation Help
« Reply #2 on: April 26, 2011, 08:42:08 am »


               So the only thing in this script i would need to change would be the "WP_portown".
I dont need area tags?