Original Source
- Original title: MZ Need help with altering a Script
- Original author: Etarxer
- Original date: July 9, 2021
- Source thread: https://forums.rpgmakerweb.com/threads/need-help-with-altering-a-script.138297/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
SRD HUD Maker Pro So I'm using SRD HUD Maker Pro, I'm trying to get Icons to display to show what is equipped in my custom menu. I have found a script that works perfect to get the currently equipped weapons ID. I have my Icons set up in order of the weapons, Items, Armors. So weapon 1 would be Icon 1 and Weapon 2 would be Icon 2 and so on, but Items and Armors I would either have to set a bunch of "blank" items before I get...
Archived First Post
So I'm using SRD HUD Maker Pro, I'm trying to get Icons to display to show what is equipped in my custom menu. I have found a script that works perfect to get the currently equipped weapons ID. I have my Icons set up in order of the weapons, Items, Armors. So weapon 1 would be Icon 1 and Weapon 2 would be Icon 2 and so on, but Items and Armors I would either have to set a bunch of "blank" items before I get to the first item to keep the Icon array going correctly or just add 100 to this script, but I'm not sure where to add the 100?
Script is
var m = $gameParty.members()[0];
var w = m?m.weapons()[0]:null;
w?w.id:0
And also would changing "weapons" to "items" and "armors" be the correct way to switch between the different types?
Thank you so much in advance!
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...