I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

Create a class

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 12:27, 5 May 2010 by 00zX (Talk | contribs) (Created page with '{{basic-script}} Firstly, you will need to understand how classes in unreal script are defined. As stated on this page the extends clause is mandatory for all classes ex…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Firstly, you will need to understand how classes in unreal script are defined. As stated on this page the extends clause is mandatory for all classes except for object.

For the purpose of this example we will assume yourclass extends UE3:Mutator.

class YourClass extends Mutator;
 
function InitMutator(string Options, out string ErrorMessage)
{
	`log("I am your mutator!",,'mutator');
}