How to override a core command?
I want to make some changes of my own in some commands but i cant compile them because their core commands
Command.all.Remove(Command.all.Find("alive"));
Ultima wrote:Can it work if i put that remove command in a autoload and after that autoload my custom command?
A whole new world of options opening now
public static void Init()
{
//Delete command here
}
Ultima wrote:Cant i make a contructor to make the command excecute?
Like:
- Code: Select all
public static void Init()
{
//Delete command here
}
dzienny wrote:In the newest release there was a method named Init() added. Thus you can overwrite it. Init() method is called on command loading.
public override void Init()
{
}
Ultima wrote:dzienny wrote:In the newest release there was a method named Init() added. Thus you can overwrite it. Init() method is called on command loading.
public override void Init()
{
}
Nice. Cant wait for its release
Can finaly make my own heartbeat to my own script with that
dzienny wrote:It's already released (v. 7.2.1).
Ultima wrote:dzienny wrote:It's already released (v. 7.2.1).
Can u post somewhere what fixes are included?
Users browsing this forum: No registered users and 3 guests