How to run a script from Hudell, let's say there is a plugin for quickly moving a player, but I don't know how to activate it, the plugin command?
Hudell's plugin in Plugin Support.
● ARCHIVED · READ-ONLY
-
-
When I said to post a thread in Plugin Support, I meant you should post a thread in the forum Plugin Support and not in Plugin Releases. Don't worry, I'll move it for you.
You should post the link to which plugin you're talking about, so people can actually help you.. -
Thank you for transferring, well, this is not quite a separate plugin, just Hudell made a plugin for a person, but did not say how to activate it, I wanted to know. https://forums.rpgmakerweb.com/index.php?threads/mouse-click-auto-move-player.46528/#post-911526
Code:* PhilteredKhaos Cursor * By Hudell - www.hudell.com * PhilteredKhaosCursor.js * Version: 1.0 * Free for commercial and non commercial use. *=============================================================================*/ /*: * @plugindesc This plugin will instantly teleport the player to the clicked position * @author Hudell */ var Imported = Imported || {}; var PhilteredKhaosCursor = PhilteredKhaosCursor || {}; (function($) { "use strict"; Scene_Map.prototype.tryTriggeringEvent = function() { if ($gameMap.isAnyEventStarting() || $gameMap.isEventRunning() || !$gamePlayer.canStartLocalEvents()) { return false; } if (TouchInput.isTriggered() || this._touchCount > 0) { if (TouchInput.isPressed()) { if (this._touchCount === 0 || this._touchCount >= 15) { var x = $gameMap.canvasToMapX(TouchInput.x); var y = $gameMap.canvasToMapY(TouchInput.y); var events = $gameMap.eventsXy(x, y); if (events.length === 0) { return false; } for (var i = 0; i < events.length; i++) { if (events[i].isTriggerIn([0, 1, 2])) { events[i].start(); return true; } } } } } return false; }; Game_Temp.prototype.setDestination = function(x, y) { $gamePlayer.setPosition(x, y); }; var oldSceneMap_processMapTouch = Scene_Map.prototype.processMapTouch; Scene_Map.prototype.processMapTouch = function() { this.tryTriggeringEvent(); oldSceneMap_processMapTouch.call(this); }; })(PhilteredKhaosCursor); Imported["PhilteredKhaosCursor"] = true; -
Maybe I don’t understand something, well, I don’t know how to activate it, and in the field of programming I don’t have long.
-
You don't activate it. There is no plugin command. The description of the plugin says it will teleport the player to the clicked position. So you add the plugin, turn it on, play, and click somewhere, and the player will instantly go to that spot.
Did you actually try it? It should just work once you've added it to your project.
This also means you won't be able to click somewhere on the map and have the player walk there. So it is for a very specific request, and maybe you don't actually want the same thing. -
You don't activate it. There is no plugin command. The description of the plugin says it will teleport the player to the clicked position. So you add the plugin, turn it on, play, and click somewhere, and the player will instantly go to that spot.
Did you actually try it? It should just work once you've added it to your project.
This also means you won't be able to click somewhere on the map and have the player walk there. So it is for a very specific request, and maybe you don't actually want the same thing.
I already tried it, it does not work anyway, it goes slowly. (version 1.5.1) -
mmm ... I just tried it in 1.6.1 and it didn't work for me either. Where is the thread you got it from?
@Hudell do you have any idea, off the top of your head? -
The way I read it, it's about activating event by using click / touch.
There's also a method to set event position. But never been call it anywhere else (or am I missing something?). -
Well, I want to click the mouse and the player teleport to that place instantly
-
Can there be an alternative plugin?
-
Perhaps the one on his github might give you some luck.
-
So, the same script for 1.6.1Perhaps the one on his github might give you some luck.
-
Look up, we already talked about him.Perhaps the one on his github might give you some luck.
-
[dpost]Jonini[/dpost]
Double posting is when you post again directly under your last post without a 72 hour break. If you want to add something, please use the Edit button on your earlier post.