SC_ConfirmBox

Usage

int SC_ConfirmBox( string &caption)


Summary

Displays a yes/no box and returns the user's choice.


More Information

Use caption to specify your question.

This function returns 1 is the user pressed "yes" or 0 if they pressed "no".


Example

if( SC_ConfirmBox( "Do you lie?"))
{
    SC_GameMessage("I don't believe you");
}
else
{
    SC_GameMessage("Good, honesty always pays off in the end");
}


Last Revised: 10 May 2008

Full Functions List


Copyright 2008 to 2009 by James Bunting
www.jbplay.com/games/rod3d/

This page was automatically generated by James' Script Docs Generator