PDA

View Full Version : How can I spawn the...



bushbomb
12-20-2007, 09:31 PM
In ut2004 I could do this.....


Spawn( class<actor>( DynamicLoadObject( "xeffects.redeemerexplosion", class'class', True )),,,C.Pawn.location + 72 * Vector(Rotation) + vect(0,0,1) * 15 );

How do i do this in UT3?

I tried the same line but changing xeffects.redeemerexplosion to UTGameContent.UTEmit_SmallRedeemerExplosion but that doesn't seem right. I want it to appear to have a large explosion at a particular point, and using the deemer explosion before worked fine. Any suggestions?

Pfhoenix
12-20-2007, 10:02 PM
Why can't you just call Spawn(class'UTEmit_SmallRedeemerExplosion') ?

bushbomb
12-20-2007, 11:10 PM
I guess I was just trying to overcomplicate stuff :)

Well, that effect is neat, but it's a tiny explosion....any idea what class would be a larger one?