What this code means, answer, please!
Code: Select all
simulated function PostBeginPlay()
{
Super.PostBeginPlay();
if ( Level.bDropDetail )
LightType = LT_None;
}
Code: Select all
simulated function PostBeginPlay()
{
Super.PostBeginPlay();
if ( Level.bDropDetail )
LightType = LT_None;
}
Code: Select all
var bool bDropDetail; // frame rate is below DesiredFrameRate, so drop high detail actors
This function was also implemented in the Frying Pan.JackGriffin wrote:It's often the case that you will intuit what something likely does but traveling back to the source code will tell you many things you wouldn't have known. Here's an example: did you know the impact hammer can be used to block incoming projectiles like rockets? Look at it's source and find the function TraceAltFire(). I didn't know this for years as a player and it wasn't until I was scanning the source code that I actually found it myself. Once you start digging into the code there are little useful nuggets everywhere.