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

Create a new Mutator

From SWRC Wiki
Revision as of 12:01, 30 November 2017 by Plasma (talk | contribs)
Jump to navigation Jump to search

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>;