I'm currently using Maca's Script: http://epochmod.com/forum/index.php?/topic/4834-add-right-click-options-to-items/ to add right click options on items. I have a suicide script installed and it is currently on the scroll menu. I've found that it's really easy to accidentally press "Commit Suicide" on the scroll wheel when you don't intend to do so in the first place. When I'm unlocking a door, I've found that I accidentally press it quite a lot when again, I don't intend to press it.
My server currently features a self bloodbag script that's pretty much identical to a lot of Epoch Servers. I use Maca's script to add a right click option to the class name "ItemBloodbag" and tell it to execute the bloodbag script when I press it.
The config file for the script looks like this: (extra_rc.hpp)
class ItemBloodbag {
class bloodbag_self {
text = "Bloodbag Self";
script = "execVM 'custom\selfBB_exec.sqf'";
};
};
Basically, I want to be able to add the same sort of thing as this to a right click menu on a secondary weapon to make it execute the suicide script. I have tried the following:
class MakarovSD {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
class Colt1911 {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
class glock17_EP1 {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
class M9 {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
class M9SD {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
class Makarov {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
class revolver_EP1 {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
class revolver_gold_EP1 {
class suicide {
text = "Commit Suicide";
script = "execVM 'custom\suicide_exec.sqf'";
};
};
I have had no success with this. Just seems like you cannot add a right click option to weapons, but I might be wrong.
Question
WAE
I'm currently using Maca's Script: http://epochmod.com/forum/index.php?/topic/4834-add-right-click-options-to-items/ to add right click options on items. I have a suicide script installed and it is currently on the scroll menu. I've found that it's really easy to accidentally press "Commit Suicide" on the scroll wheel when you don't intend to do so in the first place. When I'm unlocking a door, I've found that I accidentally press it quite a lot when again, I don't intend to press it.
My server currently features a self bloodbag script that's pretty much identical to a lot of Epoch Servers. I use Maca's script to add a right click option to the class name "ItemBloodbag" and tell it to execute the bloodbag script when I press it.
The config file for the script looks like this: (extra_rc.hpp)
Basically, I want to be able to add the same sort of thing as this to a right click menu on a secondary weapon to make it execute the suicide script. I have tried the following:
I have had no success with this. Just seems like you cannot add a right click option to weapons, but I might be wrong.
Any help is appreciated,
Thanks.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now