-
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?
-
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
-
So the only thing in this script i would need to change would be the "WP_portown".
I dont need area tags?