Hi.
I write a mutator and want to change some values from console.
so what is the structure:
KillingFloor\MyMutator\MainMutator.uc
KillingFloor\MyMutator\MainMutatorExec.uc
how to access SomeValue in MainMutator from MainMutatorExec?
I write a mutator and want to change some values from console.
so what is the structure:
KillingFloor\MyMutator\MainMutator.uc
KillingFloor\MyMutator\MainMutatorExec.uc
Code:
class MainMutator extends Mutator
var() int SomeValue;
Code:
class MainMutatorExec extends Admin
exec function ChangeSomeValue(int newvalue)
{
<how to access SomeValue in MainMutator????> = newvalue;
}
how to access SomeValue in MainMutator from MainMutatorExec?
Last edited: