Hello
I'm trying to create a skill on a private server that is just me and another friend. Specifically, I'm trying to steal the /forceRevive command from the Infinity server. I've got it mostly functional, but it does not perform the revive. It gives messages when conditions are not met, like you cannot target yourself or you must be grouped, but no messages are given when trying to perform a revive with all conditions met. Nothing happens.
These are the files I have copied/created:
ForceReviveCommand.h
forceRevive.lua
I have also added forcerevive lines to these files:
commands.lua
CommandConfigManager4.cpp
In the tre I added a new line for the command in datatables/commands/command_table.iff. I also added it in the string files so that it shows the name as Force Revive and has a description. I also added it to the ui section to set the icon. I don't have the tre file for reference at this moment, so the file names or paths I listed may be incorrect since it is from memory.
I'm not sure what I'm missing. Any help would be appreciated, thanks.
I'm trying to create a skill on a private server that is just me and another friend. Specifically, I'm trying to steal the /forceRevive command from the Infinity server. I've got it mostly functional, but it does not perform the revive. It gives messages when conditions are not met, like you cannot target yourself or you must be grouped, but no messages are given when trying to perform a revive with all conditions met. Nothing happens.
These are the files I have copied/created:
ForceReviveCommand.h
forceRevive.lua
I have also added forcerevive lines to these files:
commands.lua
CommandConfigManager4.cpp
In the tre I added a new line for the command in datatables/commands/command_table.iff. I also added it in the string files so that it shows the name as Force Revive and has a description. I also added it to the ui section to set the icon. I don't have the tre file for reference at this moment, so the file names or paths I listed may be incorrect since it is from memory.
I'm not sure what I'm missing. Any help would be appreciated, thanks.