{"id":1241,"date":"2009-12-13T12:56:41","date_gmt":"2009-12-13T12:56:41","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=1241"},"modified":"2023-03-15T14:18:42","modified_gmt":"2023-03-15T14:18:42","slug":"nwn-macros","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/nwn-macros\/","title":{"rendered":"NWN Macros"},"content":{"rendered":"<p>I decided to give <strong>NWN Macros<\/strong> some examination. It&#8217;d be nice to group a bunch of actions, and bind them to a single button. i.e. &#8220;buff up&#8221;, or &#8220;put the sword and shield away &amp; draw bow&#8221;. This article contains<a href=\"https:\/\/davelevy.info\/wiki\/bioware-community-forums-v1\/\"> broken Bioware links<\/a>.<!--more--><\/p>\n<p>Using the links below, the <del>macro help<\/del> thread at bioware forums seems a good place to start. They suggest that in order to undertake a specific group of actions, one needs a script and point at the <a href=\"https:\/\/nwnlexicon.com\/index.php?title=Main_Page\">NWN Lexicon<\/a> as a guide. It also suggests that <a href=\"http:\/\/nwvault.ign.com\/View.php?view=Other.Detail&amp;id=625\">Lilac Soul&#8217;s Script Generator<\/a> at the <b>NWN Vault<\/b> might be useful. <a href=\"https:\/\/neverwintervault.org\/project\/nwn1\/other\/tool\/lilac-souls-nwn-script-generator-v23\">Lilac Soul&#8217;s Script Generator Read Me.<\/a> .pdf<\/p>\n<h3>What I&#8217;ve done.<\/h3>\n<p>After reading <a href=\"https:\/\/nwn.fandom.com\/wiki\/Console_command\">http:\/\/nwn.wikia.com\/wiki\/Console_command,<\/a> which details how to <i>enter debug mode,<\/i> I have summoned the hobby horse and devil&#8217;s cows. I have run this from the chat bar, and encapsulated them in Macros. I have run some player commands such as d10, thats f*cking useful. Not!<\/p>\n<p>I need to test <i>dm_runscript<\/i>.<\/p>\n<h3>Links<\/h3>\n<ul>\n<li><a href=\"http:\/\/www.google.co.uk\/search?q=nwn+macro\">google q=nwn macro<\/a> seems a good start.<\/li>\n<li>The <a href=\"https:\/\/nwnlexicon.com\/index.php?title=Main_Page\">NWN Lexicon<\/a>, a scripting resource, which looks <b>bloody awesome<\/b>.<\/li>\n<li><a href=\"http:\/\/nwn.wikia.com\/wiki\/Custom_text_macro\">Text Macro<\/a> at <a href=\"http:\/\/nwn.wikia.com\/wiki\/Main_Page\">http:\/\/nwn.wikia.com\/wiki<\/a> which documents that console commands can be invoked from a text Macro using a double hash prefix ##.<\/li>\n<li><del>http:\/\/nwn.bioware.com\/players\/commands.html<\/del> lists the <i>console commands<\/i> that can be the object of a text macro, and nwn.wikia.com has also documented <a href=\"http:\/\/nwn.wikia.com\/wiki\/Console_command\">the console commands<\/a>. One of these is called <i>dm_runscript<\/i>. This has a simple argument syntax i.e. dm_runscript scriptname will invoke the script. Wonder what happens if the script needs parameters?<\/li>\n<li><i>loudent<\/i>&#8216;s answer is a <a href=\"http:\/\/nwvault.ign.com\/View.php?view=Prefabs.Detail&amp;id=718\">Rod of Fast Buffing<\/a>. Is this just a way of assigning the scripts to the quick slot? I need to investigate. This was pointed out to me by The Krit.<\/li>\n<\/ul>\n<h3>Bad News<\/h3>\n<p>Ross Glen&#8217;s\u00a0<a title=\"See also 'Playing a Rogue&quot; on this Wiki\" href=\"http:\/\/www.gamefaqs.com\/pc\/188666-neverwinter-nights\/faqs\/18823\">Neverwinter Nights Rogue Character Guide By Ross Glenn<\/a> has one reference to custom macros. He recommends that you create one with the text string <b>&#8220;Trap!&#8221;<\/b> and bind it to a quickslot button so that you can ensure, in multiplayer, that the wizards and fighters don&#8217;t set of any traps until after you have flagged or disarmed them. The bad news is that someone who&#8217;s thought so long and hard can only come up with this use case.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I decided to give NWN Macros some examination. It&#8217;d be nice to group a bunch of actions, and bind them to a single button. i.e. &#8220;buff up&#8221;, or &#8220;put the sword and shield away &amp; draw bow&#8221;. This article contains broken Bioware links.<\/p>\n","protected":false},"author":1,"featured_media":4066,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[60,63],"tags":[238,64,921,54,404,92,922],"class_list":["post-1241","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-games","category-nwn","tag-bioware","tag-frpg","tag-games","tag-howto","tag-macros","tag-modding","tag-nwn"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2009\/07\/html-from-makeuseof_com-w650c.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=1241"}],"version-history":[{"count":10,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1241\/revisions"}],"predecessor-version":[{"id":7490,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1241\/revisions\/7490"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/4066"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=1241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=1241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=1241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}