If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

FootstepInfo

From SWRC Wiki
Revision as of 19:52, 11 April 2021 by Plasma (talk | contribs) (Created page with "<source lang="c++"> //============================================================================= // Footstep info: A class which contains a collection of mappings from //...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
//=============================================================================
// Footstep info: A class which contains a collection of mappings from 
// material type to sounds to play
//=============================================================================
class FootstepInfo extends Object
	dependsOn(AnimNotify_Footstep)
	native
	abstract;


struct FootstepSoundInfo {
	var() Actor.EMaterialType StepOnMaterial;
	var() Sound 			  FootstepSound;	
};

struct FootstepSoundMap {
	var() editinline Array<FootstepSoundInfo> Footsteps;
	var() AnimNotify_Footstep.eMaterialWalkType WalkType;
};

var() Array<FootstepSoundMap> FootstepSounds;


defaultproperties
{
}