Code: Select all
function SpawnSpriteAnimation( SpriteAnimation sAnimation, optional name Tag, optional bool bDirectionalSprites )
{
local RPG_Game GameMode;
if ( Level.Game != none && Level.Game == class'RPG_Game')
{
sAnimation = new( None, 'AnimationObj') class'SpriteAnimation';
sAnimation.bDirectionalSprites = Level.Game.bDirectionalSprites;
sAnimation.Tag = Tag;
}
}
OffTopic
Also here is some Saint Pepsi, enjoy~
_hI0qMtdfng
_hI0qMtdfng