56 float wait = ctx.
getParams()[0].getFloat();
57 float run = ctx.
getParams()[1].getFloat();
71 float wait = ctx.
getParams()[0].getFloat();
72 float run = ctx.
getParams()[1].getFloat();
86 bool show = (ctx.
getParams()[0].getInt() != 0);
87 int returnStrref = ctx.
getParams()[1].getInt();
88 int returnQueryStrref = ctx.
getParams()[2].getInt();
void setWaitTime(float wait)
Set the time to wait until fading begins.
Context of an NWScript function.
void getPCSpeaker(Aurora::NWScript::FunctionContext &ctx)
void getNextPC(Aurora::NWScript::FunctionContext &ctx)
void setReturnQueryStrref(uint32 id)
Set the string for the return dialog.
void setReturnStrref(uint32 id)
Set the return string for the 'Return to Ebon Hawk' button.
void setGlobalFadeIn(Aurora::NWScript::FunctionContext &ctx)
The context handling the gameplay in Star Wars: Knights of the Old Republic.
Utility templates and functions.
A container of Star Wars: Knights of the Old Republic objects.
void fadeIn()
Start a fade in.
Graphics::Aurora::FadeQuad & getFadeQuad()
Return the fade quad.
void setReturnStrref(Aurora::NWScript::FunctionContext &ctx)
void getModule(Aurora::NWScript::FunctionContext &ctx)
Star Wars: Knights of the Old Republic engine functions.
void setReturnEnabled(bool enabled)
Enable or disable the 'Return to Ebon Hawk' button.
void setColor(float r, float g, float b)
Set the current color of the quad.
Module & getModule()
Return the module context.
void getFirstPC(Aurora::NWScript::FunctionContext &ctx)
void fadeOut()
Start a fade out.
The context needed to run a Star Wars: Knights of the Old Republic module.
void setGlobalFadeOut(Aurora::NWScript::FunctionContext &ctx)
void setRunTime(float run)
Set the time the quad is fading.
Creature * getPC()
Return the currently playing PC.