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

DruidsRPGcvs.DruidVehicleSummon


00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
class DruidVehicleSummon extends Summonifact
    config(UT2004RPG);

function bool SpawnIt(TransBeacon Beacon, Pawn P, EngineerPointsInv epi)
{
    Local Vehicle NewVehicle;

    NewVehicle = epi.SummonVehicle(SummonItem, Adrenaline, Points, P, Beacon.Location);
    if (NewVehicle == None)
        return false;
    SetStartHealth(NewVehicle);

    // now allow player to get xp bonus
    ApplyStatsToConstruction(NewVehicle,Instigator);

    return true;
}

defaultproperties
{
    ItemName=""
    IconMaterial=Texture'DruidEngTextures.Icons.SummonVehicleIcon'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Class file time: Fri 3/11/2006 19:16:36.000 - Creation time: Wed 7/2/2007 19:16:37.921 - Created with UnCodeX