Weapon Attack Change Problem

Status
Not open for further replies.

BuggleStrug

Villager
Member
Joined
Jul 21, 2019
Messages
11
Reaction score
0
First Language
English
Primarily Uses
RMMV
So, basically I'm trying to use one of Yanfly's scripts (Weapon attack change) in one of my projects, but no matter what I do I can't seem to get it to work. I've tried re ordering the scripts under materials, I've tried deleting and re-pasting the script into the project,and I've triple checked to make sure the note tag on the actor was right, but it would still set the actor's attack skill to the default attack. What am I doing wrong here?
 

Attachments

Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
29,232
Reaction score
6,776
First Language
German
Primarily Uses
RMMV
please do not make IDs with leading zeroes.

The correct ID is 11, not 011

Other than that please give a link to the script so that we can check how it is supposed to work
 

BuggleStrug

Villager
Member
Joined
Jul 21, 2019
Messages
11
Reaction score
0
First Language
English
Primarily Uses
RMMV
please do not make IDs with leading zeroes.

The correct ID is 11, not 011

Other than that please give a link to the script so that we can check how it is supposed to work
Apologies. The only reason I put a leading zero on is because it didn't work even when the ID was just 11.

Also, here's a link to the github page with the script:
 

Kes

Global Moderators
Global Mod
Joined
Aug 3, 2012
Messages
21,634
Reaction score
10,932
First Language
English
Primarily Uses
RMVXA

I've moved this thread to RGSSx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,535
Reaction score
12,057
First Language
English
Primarily Uses
RMMV
The script comment says this will be the attack skill if no weapon is equipped. IS there a weapon equipped?

Are you playing from a saved game, or did you start a new game after adding that note tag? You need to start a new game.
 

BuggleStrug

Villager
Member
Joined
Jul 21, 2019
Messages
11
Reaction score
0
First Language
English
Primarily Uses
RMMV
The script comment says this will be the attack skill if no weapon is equipped. IS there a weapon equipped?

Are you playing from a saved game, or did you start a new game after adding that note tag? You need to start a new game.
Well, I've tried starting a new game and unequipping all weapons, but still nothing. Also, I didn't think it would matter if a weapon is equipped unless that weapon also has an attack changing note tag.

Edit: Scratch that, it ended up working after all. Thanks!
 
Last edited:

BuggleStrug

Villager
Member
Joined
Jul 21, 2019
Messages
11
Reaction score
0
First Language
English
Primarily Uses
RMMV
Note: Please disregard my last post. The script did end up working after I started a new game. It just didn't change the name of the Attack Command.
 

Kes

Global Moderators
Global Mod
Joined
Aug 3, 2012
Messages
21,634
Reaction score
10,932
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

welp, the stock market went down by 7% because of corona today. Time to buy stocks?
Man, being able to edit my game WHILE testplaying it is like the most convenient thing EVER. Thank you, MV...it even makes up for the OGG thing. Well, almost.
Back in the old days, long before I was born, salted crisps - or potato chips, for you yanks - came unsalted and had a little pouch of salt to manually shake on it. Of course, things are more efficient now, but Walker's still brought back the old 'Salt 'N' Shake' style a couple years ago. Dunno why, but if I had to guess, I'd say it's because the nostalgia crowd were getting salty.
Guys I just want to sit around and work on my game! *gets lots and lots of money shoveled at him* Game, I don't recall a game. What game? :LZSexcite:

Forum statistics

Threads
94,549
Messages
921,817
Members
124,414
Latest member
Kayzyelnatz
Top