Jump to content
  • 0

Fixing NPC Script


Kurby

Question


  • Group:  Members
  • Topic Count:  37
  • Topics Per Day:  0.01
  • Content Count:  113
  • Reputation:   1
  • Joined:  07/15/12
  • Last Seen:  

How do I choose an action for both selections?

Change:

if(select("Dark Helmet!:Sparkling Dust!:Bye!")==3) goto M_Leave;

To:

if(select("Dark Helmet!:Sparkling Dust!:Bye!")==3,2) goto M_Leave; goto M_Once;

Would this work? Will it allow the Selection "Bye!" To leave Npc message. And let the "Sparkling Dust!" goto M_once in script file? M_Once allows Player to buy next item.

Make sense? /hmm

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  14
  • Topics Per Day:  0.00
  • Content Count:  407
  • Reputation:   159
  • Joined:  11/18/11
  • Last Seen:  

switch(select("Dark Helmet!:Sparkling Dust!:Bye!"))
{
case 1: break; case 2: break; case 3: break;
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...