76 warning(
"Can't start module \"%s\": No such module", mod.
c_str());
Creature * getPC()
Return the currently playing PC.
void playVideo(const Common::UString &video)
Play this video resource.
A container of Neverwinter Nights objects.
A class holding an UTF-8 string.
Context of an NWScript function.
void location(Aurora::NWScript::FunctionContext &ctx)
void getFirstPC(Aurora::NWScript::FunctionContext &ctx)
void exit()
Exit the currently running module.
void setArea(Area *area)
Set the location's area.
static Location * toLocation(Aurora::NWScript::EngineType *engineType)
static bool hasModule(Common::UString &module)
Does this module exist?
The context needed to run a Neverwinter Nights module.
void load(const Common::UString &module)
Load a module.
const char * c_str() const
Return the (utf8 encoded) string data.
Utility templates and functions.
void getNextPC(Aurora::NWScript::FunctionContext &ctx)
void setVector(float x, float y, float z)
bool empty() const
Is the string empty?
void endGame(Aurora::NWScript::FunctionContext &ctx)
void setPosition(float x, float y, float z)
Set the location's position.
void warning(const char *s,...)
void setFacing(float facing)
Set the location's orientation.
void getModule(Aurora::NWScript::FunctionContext &ctx)
void getPosition(float &x, float &y, float &z) const
Return the location's position.
static Area * toArea(Aurora::NWScript::Object *object)
A location within a Neverwinter Nights area.
Generic Aurora engines utility functions.
The context handling the gameplay in Neverwinter Nights.
void getPositionFromLocation(Aurora::NWScript::FunctionContext &ctx)
void startNewModule(Aurora::NWScript::FunctionContext &ctx)
Neverwinter Nights engine functions.
Module & getModule()
Return the module context.