# Set Time of Day Lighting For Player
Grammar — Change the light used for time of day lighting for player player to light
Flags —Native
|Action
Sets the lighting used by the time of day for a specific player.
# Arguments
int
— Playerstring
<gamelink::Light> — Light
Returns — void
native void PlayerSetToDLighting(
int inPlayer,
string inLight,
);
# Related
Category: Environment / Lighting
- Game Day/Night State Change —
void
— TriggerAddEventGameTimeEvent - Set Lighting —
void
— GameSetLighting - Set Lighting For Player —
void
— PlayerSetLighting - Set Time Of Day —
void
— GameTimeOfDaySet - Set Time Of Day (Seconds) —
void
— GameTimeOfDayValueSet - Set Time Of Day (Hours, Minutes, Seconds) —
void
— GameTimeOfDayTimeValueSet - Set Time of Day Lighting —
void
— GameSetToDLighting - Set Time of Day Lighting For Player —
void
— PlayerSetToDLighting - Set Day Length —
void
— GameTimeOfDaySetLength - Pause/Unpause Time Of Day —
void
— GameTimeOfDayPause - Triggering Day/Night State —
int
<preset::DayNightEventType> — EventGameTimeEvent - Current Time Of Day —
string
<timeofday> — GameTimeOfDayGet - Current Time Of Day (Seconds) —
int
— GameTimeOfDayValueGet - Current Day/Night State —
int
<preset::DayNightEventType> — GameTimeOfDayCurrentTimeEvent - Day Length —
fixed
— GameTimeOfDayGetLength - Time Of Day Is Paused —
bool
— GameTimeOfDayIsPaused
# Examples
— None found —