SCRIPTING FUNCTIONS

Sort alphabetically | Sort by category

All | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | R | S | T | U | V | Z


factdialogue (generate dialog)

Generate a simple one-liner dialog through script.

int faction = 1 ; [Id as seen in Faction.wdt]
int textLine = 100 ; [Text line number from dialogs.txt. Counting starts from 0!
float duration = 4.0 ; [Dialog duration in seconds]
factdialogue faction textLine duration ;


FadeFromColor

Fades back to screen from color over time.

float3 color = 0.0 0.0 0.0 ;
float time = 1.0 ;
camera FadeFromColor color time ;


FadeToColor

Fades screen to color over time.

float3 color = 0.0 0.0 0.0 ;
float time = 1.0 ;
camera FadeToColor color time ;