# Set Lighting For Player

Grammar — Set lighting for player p to light, blending over blendTime seconds
FlagsNative | Action

Changes the lighting on the map for the requested player.

# Arguments

  • int — Player
  • string [ gamelink::Light ] — Light
  • fixed — Blend Time

Returns — void

native void PlayerSetLighting(
	int inPlayer,
	string inLight,
	fixed inBlendTime,
);

Category: Environment / Lighting

# Examples

# mods/heroesdata.stormmod

GameLib.galaxy

// L8273
PlayerSetLighting(lv_itPlayer, lp_lighting, lp_blendtime)