46
Modification Help / Creating a light?
« on: June 02, 2009, 02:22:19 AM »
Should this be working? It doesn't for me
Code: [Select]
function RocketlauncherProjectile::onCollision(%this, %obj, %col)
{
%l = new (fxlight)()
{
Position = %pos;
LightOn = true;
radius = 30;
brightness = 30;
color = "1 0.5 0 1";
flareOn = true;
flarebitmap = "base/lighting/corona2";
NearSize = 30;
FarSize = 30;
};
MissionCleanup.add(%l);
}