If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Difference between revisions of "Create a new Mutator"

From SWRC Wiki
Jump to navigation Jump to search
(Created page with "Let's take the knowledge from Create a new sciptable Class and let's make a new Mutator for SWRC. In this case I already created a new subclass in Mutator called TestMuta...")
 
Line 14: Line 14:
class TestMutator extends Mutator;
class TestMutator extends Mutator;
</source>
</source>
That's the way every class starts. '''class <subclass> extends <parentclass>;'''

Revision as of 12:01, 30 November 2017

Let's take the knowledge from Create a new sciptable Class and let's make a new Mutator for SWRC.

In this case I already created a new subclass in Mutator called TestMutator.

Mut1.PNG

So open up the script in UnrealED or outside in notepad.

The first line is always the class definition and linking to parent class.

By the way, UnrealScript is case-insensitive!

class TestMutator extends Mutator;

That's the way every class starts. class <subclass> extends <parentclass>;