Aller au contenu

Photo

Conversation Help


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Omega27

Omega27
  • Members
  • 198 messages
  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?

#2
Greyfort

Greyfort
  • Members
  • 234 messages
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

#3
Omega27

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