Quote:
Originally Posted by Jelly Jam
Can I somehow remove the lightning that appears behind the rabbit when it's moving and the one around bullets? I want to use it in a level.
|
OK so this doesn't remove the light trail created by running players (although non-local players don't see this anyway), but does remove the light the player emits normally and removes bullet lighting (except for the light produced by weapon explosions).
Code:
void onLevelLoad() {
for (int eventID = OBJECT::BLASTERBULLET; eventID <= OBJECT::ELECTROBULLETPU; ++eventID) {
jjObjectPresets[eventID].lightType = LIGHT::NONE;
}
}
void onPlayer(jjPLAYER@ play) {
play.lightType = LIGHT::NONE;
}
|