Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

WVPersesMAS.MutPersesInsteadOfLeviathan


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
/**
WVPersesMAS.MutPersesInsteadOfLeviathan

Creation date: 2013-12-12 10:59
Last change: $Id$
Copyright (c) 2013, Wormbo
*/

class MutPersesInsteadOfLeviathan extends Mutator;


function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
	if (SVehicleFactory(Other) != None && (class<ONSMobileAssaultStation>(SVehicleFactory(Other).VehicleClass) != None || SVehicleFactory(Other).VehicleClass != None && SVehicleFactory(Other).VehicleClass.Name == 'PersesMAS'))
		SVehicleFactory(Other).VehicleClass = class'PersesMAS';
	
	return true;
}


//=============================================================================
// Default values
//=============================================================================

defaultproperties
{
	FriendlyName = "Perses instead of Leviathan variants";
	Description = "Replaces the Leviathan (and its various variants) with the Perses MAS and upgrades older versions of the Perses.";
	bAddToServerPackages = True;
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Do 19.6.2014 17:35:42.000 - Creation time: Do 14.8.2014 09:58:44.991 - Created with UnCodeX