{"id":4340,"date":"2023-09-06T14:48:52","date_gmt":"2023-09-06T11:48:52","guid":{"rendered":"https:\/\/dk-plugins.ru\/?page_id=4340"},"modified":"2023-09-11T11:41:06","modified_gmt":"2023-09-11T08:41:06","slug":"custom-event-triggers","status":"publish","type":"page","link":"https:\/\/dk-plugins.ru\/ru\/custom-event-triggers\/","title":{"rendered":"Custom Event Triggers"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>\u0412\u0435\u0440\u0441\u0438\u044f:<\/strong> 1.1.0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435: <\/strong>\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u044b \u0441\u043e\u0431\u044b\u0442\u0438\u0439.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use the comment in the event to set the trigger.<br>There are 2 types of triggers: parallel and blocking.<br>Blocking type blocks the player&#8217;s movements when the event is executed<br>(as with button activation or automatic trigger).<br>The parallel type does not block player movement like parallel events.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0414\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u044b:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>\u0441\u043f\u043e\u0439\u043b\u0435\u0440<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p class=\"wp-block-paragraph\">1. Steps (Blocking) &#8211; A trigger that activates an event when the number of steps in at party is a multiple of X<br>Use the comment &lt;trigger: steps x&gt;<br>x &#8211; steps, which must be a multiple of the number of party steps<br>Example: &lt;trigger: steps 5&gt;<br>When the number of steps is a multiple of 5 (steps = 5, 10, 15, etc.), then the event is activated<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Vehicle Exit (Blocking) &#8211; Trigger that activates an event when the vehicle exits<br>Use the comment &lt;trigger: vehicleOff&gt;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Jump (Blocking) &#8211; A trigger that activates an event when the player jumps<br>Use the comment &lt;trigger: jump&gt;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Run (Parallel) &#8211; Trigger that activates an event when the player runs<br>Use the comment &lt;trigger: run&gt;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. Region (Parallel) &#8211; Trigger that activates an event when the player is in a certain region<br>Use the comment &lt;trigger: region x&gt;<br>x &#8211; region in which the player should be<br>Example: &lt;trigger: region 2&gt;<br>When the player is in region 2, the event is activated<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6. Distance (Parallel) &#8211; Trigger that activates an event when the player is at a distance from the event<br>Use the comment &lt;trigger: distance x&gt;<br>x &#8211; distance between the player and the event<br>Example: &lt;trigger: distance 2&gt;<br>When a player is 2 tiles away from an event, the event is activated<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RPG Maker MV:&nbsp;<strong>1.5+<\/strong><\/li>\n\n\n\n<li>RPG Maker MZ:\u00a0<strong>1.0+<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0421\u043f\u0438\u0441\u043e\u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><div class=\"su-spoiler su-spoiler-style-default su-spoiler-icon-plus su-spoiler-closed\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>\u0441\u043f\u043e\u0439\u043b\u0435\u0440<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<p class=\"wp-block-paragraph\">\u0412\u0435\u0440\u0441\u0438\u044f\u00a0<strong>1.1.0<\/strong>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Added 2 new triggers\u00a0<strong>Region\u00a0<\/strong>(activates an event when the player is in a certain region) and\u00a0<strong>Distance\u00a0<\/strong>(activates an event when the player is at a distance from the event).<\/li>\n\n\n\n<li>Fixed freezing issue for the\u00a0<strong>Run<\/strong>\u00a0trigger.<\/li>\n\n\n\n<li>The instructions have been updated and expanded.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u042f\u0437\u044b\u043a\u0438 \u0441\u043f\u0440\u0430\u0432\u043a\u0438:<\/strong> \u0410\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439, \u0420\u0443\u0441\u0441\u043a\u0438\u0439<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"http:\/\/dk-plugins.ru\/terms-of-use\/\">\u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/a><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/dk-plugins.ru\/commercial-license\/\">\u041a\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0443\u044e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044e<\/a><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Demo <strong>(MZ)<\/strong>:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><p><a href=\"https:\/\/dk-plugins.ru\/download\/Custom_Event_Triggers_Demo.rar\">Custom_Event_Triggers_Demo.rar<\/a> (10,1 \u041c\u0431)<br\/>\r\n(Last update: 06 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2023 14:51)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u041f\u043b\u0430\u0433\u0438\u043d:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><p><a href=\"https:\/\/dk-plugins.ru\/download\/DK_Custom_Event_Triggers.js\">DK_Custom_Event_Triggers.js<\/a> (17,7 \u041a\u0431)<br\/>\r\n(Last update: 11 \u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f 2023 11:41)<\/p>","protected":false},"excerpt":{"rendered":"<p>Version: 1.1.0 Description: Allows you to use custom event triggers. Instructions: Use the comment in the event to set the trigger.There are 2 types of triggers: parallel and blocking.Blocking type&hellip;<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"class_list":["post-4340","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Custom Event Triggers - DK Plugins<\/title>\n<meta name=\"description\" content=\"Allows you to use custom event triggers.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dk-plugins.ru\/ru\/custom-event-triggers\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Custom Event Triggers - DK Plugins\" \/>\n<meta property=\"og:description\" content=\"Allows you to use custom event triggers.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dk-plugins.ru\/ru\/custom-event-triggers\/\" \/>\n<meta property=\"og:site_name\" content=\"DK Plugins\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-11T08:41:06+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dk-plugins.ru\\\/custom-event-triggers\\\/\",\"url\":\"https:\\\/\\\/dk-plugins.ru\\\/custom-event-triggers\\\/\",\"name\":\"Custom Event Triggers - DK Plugins\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dk-plugins.ru\\\/#website\"},\"datePublished\":\"2023-09-06T11:48:52+00:00\",\"dateModified\":\"2023-09-11T08:41:06+00:00\",\"description\":\"Allows you to use custom event triggers.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dk-plugins.ru\\\/custom-event-triggers\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dk-plugins.ru\\\/custom-event-triggers\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dk-plugins.ru\\\/custom-event-triggers\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dk-plugins.ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Event Triggers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dk-plugins.ru\\\/#website\",\"url\":\"https:\\\/\\\/dk-plugins.ru\\\/\",\"name\":\"DK Plugins\",\"description\":\"Plugins for RPG Maker MV\\\/MZ\",\"publisher\":{\"@id\":\"https:\\\/\\\/dk-plugins.ru\\\/#\\\/schema\\\/person\\\/b2c26fc45b0126259bfaadf07faf0df5\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/dk-plugins.ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/dk-plugins.ru\\\/#\\\/schema\\\/person\\\/b2c26fc45b0126259bfaadf07faf0df5\",\"name\":\"DKPlugins\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g\",\"caption\":\"DKPlugins\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Custom Event Triggers - DK Plugins","description":"\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u044b \u0441\u043e\u0431\u044b\u0442\u0438\u0439.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dk-plugins.ru\/ru\/custom-event-triggers\/","og_locale":"ru_RU","og_type":"article","og_title":"Custom Event Triggers - DK Plugins","og_description":"Allows you to use custom event triggers.","og_url":"https:\/\/dk-plugins.ru\/ru\/custom-event-triggers\/","og_site_name":"DK Plugins","article_modified_time":"2023-09-11T08:41:06+00:00","twitter_card":"summary_large_image","twitter_misc":{"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"2 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/dk-plugins.ru\/custom-event-triggers\/","url":"https:\/\/dk-plugins.ru\/custom-event-triggers\/","name":"Custom Event Triggers - DK Plugins","isPartOf":{"@id":"https:\/\/dk-plugins.ru\/#website"},"datePublished":"2023-09-06T11:48:52+00:00","dateModified":"2023-09-11T08:41:06+00:00","description":"\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0441\u0442\u043e\u043c\u043d\u044b\u0435 \u0442\u0440\u0438\u0433\u0433\u0435\u0440\u044b \u0441\u043e\u0431\u044b\u0442\u0438\u0439.","breadcrumb":{"@id":"https:\/\/dk-plugins.ru\/custom-event-triggers\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dk-plugins.ru\/custom-event-triggers\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/dk-plugins.ru\/custom-event-triggers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dk-plugins.ru\/"},{"@type":"ListItem","position":2,"name":"Custom Event Triggers"}]},{"@type":"WebSite","@id":"https:\/\/dk-plugins.ru\/#website","url":"https:\/\/dk-plugins.ru\/","name":"DK Plugins","description":"\u041f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f RPG Maker MV\/MZ","publisher":{"@id":"https:\/\/dk-plugins.ru\/#\/schema\/person\/b2c26fc45b0126259bfaadf07faf0df5"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dk-plugins.ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":["Person","Organization"],"@id":"https:\/\/dk-plugins.ru\/#\/schema\/person\/b2c26fc45b0126259bfaadf07faf0df5","name":"DKPlugins","image":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/secure.gravatar.com\/avatar\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g","caption":"DKPlugins"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/4cff2f2efc7e424f4471e3a6a28225dfcc4ba84dfd8ca542ad283cbd74cbdc7c?s=96&d=mm&r=g"}}]}},"_links":{"self":[{"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/pages\/4340","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/comments?post=4340"}],"version-history":[{"count":4,"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/pages\/4340\/revisions"}],"predecessor-version":[{"id":4391,"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/pages\/4340\/revisions\/4391"}],"wp:attachment":[{"href":"https:\/\/dk-plugins.ru\/ru\/wp-json\/wp\/v2\/media?parent=4340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}