1. SPS Accounts:
    Do you find yourself coming back time after time? Do you appreciate the ongoing hard work to keep this community focused and successful in its mission? Please consider supporting us by upgrading to an SPS Account. Besides the warm and fuzzy feeling that comes from supporting a good cause, you'll also get a significant number of ever-expanding perks and benefits on the site and the forums. Click here to find out more.
    Dismiss Notice
Dismiss Notice
You are currently viewing Boards o' Magick as a guest, but you can register an account here. Registration is fast, easy and free. Once registered you will have access to search the forums, create and respond to threads, PM other members, upload screenshots and access many other features unavailable to guests.

BoM cultivates a friendly and welcoming atmosphere. We have been aiming for quality over quantity with our forums from their inception, and believe that this distinction is truly tangible and valued by our members. We'd love to have you join us today!

(If you have any problems with the registration process or your account login, please contact us. If you've forgotten your username or password, click here.)

To Speak or to ActionSpeak

Discussion in 'Neverwinter Nights (Classic)' started by Mollusken, Jul 21, 2002.

  1. Mollusken Gems: 24/31
    Latest gem: Water Opal


    Joined:
    Aug 12, 2000
    Messages:
    1,952
    Likes Received:
    0
    What's the difference between SpeakString and ActionSpeakString?
     
  2. Blackthorne TA

    Blackthorne TA Master in his Own Mind Staff Member ★ SPS Account Holder Adored Veteran Pillars of Eternity SP Immortalizer (for helping immortalize Sorcerer's Place in the game!) New Server Contributor [2012] (for helping Sorcerer's Place lease a new, more powerful server!) Torment: Tides of Numenera SP Immortalizer (for helping immortalize Sorcerer's Place in the game!)

    Joined:
    Oct 19, 2000
    Messages:
    10,416
    Media:
    40
    Likes Received:
    232
    Gender:
    Male
    I believe ActionSpeakString goes in your action queue, so it can be delayed while other actions in the queue happen, like walking over to the person you're going to speak to.
     
  3. Xaelifer Gems: 10/31
    Latest gem: Zircon


    Joined:
    Nov 17, 2001
    Messages:
    356
    Likes Received:
    0
    [​IMG] From what I've found, ActionSpeakString speaks down below in the chat box, like a character shouting or whispering something. SpeakString is a little white one-liner conversation above the object's head. The action makes it as if something has SPOKEN in real-time instead of displaying a message. I may be wrong.
     
  4. Zorac Gems: 11/31
    Latest gem: Bloodstone


    Joined:
    Nov 6, 2000
    Messages:
    412
    Likes Received:
    0
    BTA got it right.

    SpeakString executes when the script runs.
    ActionSpeakString is put in the action queue.
     
  5. Xaelifer Gems: 10/31
    Latest gem: Zircon


    Joined:
    Nov 17, 2001
    Messages:
    356
    Likes Received:
    0
    [​IMG] Boo-yah! One score for me! Oh, wait. I was wrong. Eeek.

    I think what I was talking about is if you leave the TALKVOLUME blank, theeeeen it appears in white on the game screen. Otherwise it's fish for the chat box. I may be wrong again. Oh, well.
     
  6. Zorac Gems: 11/31
    Latest gem: Bloodstone


    Joined:
    Nov 6, 2000
    Messages:
    412
    Likes Received:
    0
    Well, the question was what the difference between the two were Xaelifer.

    Both have been useful for me. If you script some character action you would normally use ActionSpeakString. As in
    ActionMoveToObject(<some position> );
    ActionSpeakString("Hey, you there!!");
    ActionMoveToObject(<position of PC> );
    ActionStartConversation(<PC object,"a_conversation_of_some_sort")

    The SpeakString I have mainly used for debug purpose. But there are situations where ActionSpeakString cannot be used so you have to use SpeakString.
     
Sorcerer's Place is a project run entirely by fans and for fans. Maintaining Sorcerer's Place and a stable environment for all our hosted sites requires a substantial amount of our time and funds on a regular basis, so please consider supporting us to keep the site up & running smoothly. Thank you!

Sorcerers.net is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to products on amazon.com, amazon.ca and amazon.co.uk. Amazon and the Amazon logo are trademarks of Amazon.com, Inc. or its affiliates.