NightToDay

From NWN Lexicon



Contents

[edit] NightToDay(object, float)

Changes the current Day/Night cycle for this player to daylight

void NightToDay(
    object oPlayer,
    float fTransitionTime = 0.0f
);

[edit] Parameters

oPlayer

Player to see the light of day

fTransitionTime

Time it takes for the daylight to fade in (Default: 0.0f)


[edit] Description

Changes the current Day/Night cycle for this player to daylight.



[edit] Remarks

If called while it is day, the player might see the screen go dark for a short while and then fade back in. 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: 

GetIsNight



 author: Lilac Soul
 

Personal tools
Categories