• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Buttons that are executing (chat)commands

Hello survivors,

we have on our server, as you know, the possibility to send commands via chat.

Examples:

- /home
- /market
- /shop
- /visit
- ...


I am almost sure you know this.😏

Now the question. 👉 Is it possible to trigger these commands by a button, which is attached to a button on the chat window?

Of course, it would be even better if you had a radial menu extension for the command /home. That would be really ingenious.

I have looked at the folder XUi and also the files in there, but so far I have not found a way to realize this.

Does anyone have an idea how I could best start there, or at all?

We already have a few changes, all of which have also been very successful, but you can never have it nice enough.😇

 
You don't even need to mod the game's code and UI. Every macro solution out there can do that for you.

 
Hi @Gazz,

thank you for your answer.

What exactly do you mean with:

Every macro solution out there can do that for you.


Is there a way to implement macros or something like that?

I am a really NewBee on modding 7d2d, so any help or hint will be very very nice.

 
I think Gazz means a separate program for defining and using keyboard macros. It simply emulates a keyboard in software. Can't help you with an actual suggestion though, I'm not a windows user.

 
Last edited by a moderator:
Back
Top