leoroura

Veteran
Veteran
Joined
Feb 14, 2017
Messages
32
Reaction score
5
First Language
English
Primarily Uses
RMMV
Hello everyone! It's me again :p
Today i find myself another simple -yet- maybe complicated question?

My character in-game has a certain weapon type he can wear. I want to block the player from unequiping it. Yes, basically, i want the player to have the possibility to switch between weapons, but render him unable to remove them and be bare handed.
Is something like this possible? And then there is the "Remove all equipment" command in the menu, i want that to work, but remove everything BUT the weapon. It's important for the game functionability that a weapon remains equiped at all times.
How to do this? >.<

Thanks in advance!
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,032
Reaction score
10,029
First Language
German
Primarily Uses
RMMV
that is done by the trait "lock equipment".

you should still be able to change the equipment with the correct event commands, the trait completely prevents the player from changing anything in the locked slot.
 

leoroura

Veteran
Veteran
Joined
Feb 14, 2017
Messages
32
Reaction score
5
First Language
English
Primarily Uses
RMMV
That's not gonna work :(
What im looking for is a way to let the player change the weapon from the menu, but unable them to be bare handed...
Is that even possible? Thanks for the answer though! :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,032
Reaction score
10,029
First Language
German
Primarily Uses
RMMV
no, removing the "none" option either requires laggy eventing (basically force an equip if a parallel process detects none) or a plugin to modify the equipment change behaviour.
 

leoroura

Veteran
Veteran
Joined
Feb 14, 2017
Messages
32
Reaction score
5
First Language
English
Primarily Uses
RMMV
Alright. I thought about what you said and i ended up adding a paralel event asking a condition on wether the two weapons are equiped and if none are true, then a message pops up saying "Its not wise to go unarmed" and sends you to main menu. So yeah, kinda fixed haha
Thank you ! :)
 

Latest Threads

Latest Profile Posts

DamageEvil_5.png added!
index.php

Rendering the intro for the 4 time today, everytime it finished I noticed something that I found off and had to fix it and render it all over again...
Would not be so bad if it was not for my PC having the speed of a slug.:kaoswt2:
Tried something. Little sneak peak of Unity AD.
M42S7Us.gif

It's the little things. Lengthened the time the bar fades in and out to be a bit more comfortable.

Forum statistics

Threads
125,737
Messages
1,173,120
Members
164,885
Latest member
pseudodachi
Top