Table of Contents

 
FadeComplete
 

Purpose

Determines whether a text object has completed its fade effect

 

Protoype

bool CTextMngr::FadeComplete (string str_text_id)
 

Parameters

text_id the ID of the text object to query
 

Description

This function returns TRUE if the text object has completed its fade effect, or FALSE if it has not.

NOTE: This function will return TRUE only when a fade effect is in progress and FALSE any other time, even if no fade is in effect for that object. That means that when you use this function be sure that you have previously started a fade effect otherwise you may end up with bugs

 

Use

CTextMngr text;
// fade effect has already started
// are we done yet?
if (text.FadeComplete("my_text"))
    return;
 

Prev: EnableInput