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,024
Reaction score
10,022
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,024
Reaction score
10,022
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 Posts

Latest Profile Posts

DamageEvil_2.png added!
index.php

Important update for Leafko!

Forum statistics

Threads
125,671
Messages
1,172,700
Members
164,801
Latest member
PurpleClouds
Top