DayToNight
From NWN Lexicon
Contents |
[edit] DayToNight(object, float)
Changes the current Day/Night cycle for this player to night
void DayToNight( object oPlayer, float fTransitionTime = 0.0f );
[edit] Parameters
oPlayer
Player to dump into darkness
fTransitionTime
Time it takes to become night (Default: 0.0f)
[edit] Description
Changes the current Day/Night cycle for this player to night.
[edit] Remarks
If called while it is night, the player might see the screen go light for a short while and then fade back out. This doesn't look so good, so it may be a good idea to use this together with the GetIsDay / GetIsNight functions.
This doesn't cause the game time to change at all.
[edit] Version
1.61
[edit] See Also
functions: |
author: Lilac Soul