95 float range = ctx.
getParams()[2].getFloat();
98 object->getPosition(x, y, z);
void actionCloseDoor(Aurora::NWScript::FunctionContext &ctx)
void delayScript(const Common::UString &script, const Aurora::NWScript::ScriptState &state, Aurora::NWScript::Object *owner, Aurora::NWScript::Object *triggerer, uint32 delay)
Object * getTriggerer() const
static Door * toDoor(Aurora::NWScript::Object *object)
A class holding an UTF-8 string.
void assignCommand(Aurora::NWScript::FunctionContext &ctx)
void enqueueAction(const Action &action)
Append action to the character's action queue.
bool close(Object *closer)
The closer object closes this door.
void clearAllActions(Aurora::NWScript::FunctionContext &ctx)
Context of an NWScript function.
Object * getCaller() const
void setPoint(float x, float y, float z)
void setRange(float range)
Exception that provides a stack of explanations.
Basic exceptions to throw.
void actionStartConversation(Aurora::NWScript::FunctionContext &ctx)
The context handling the gameplay in Star Wars: Knights of the Old Republic.
A container of Star Wars: Knights of the Old Republic objects.
A door in a Star Wars: Knights of the Old Republic area.
const Common::UString & getScriptName() const
bool empty() const
Is the string empty?
void delayCommand(Aurora::NWScript::FunctionContext &ctx)
void startConversation(const Common::UString &name, Aurora::NWScript::Object *owner=0)
Star Wars: Knights of the Old Republic engine functions.
static KotOR::Object * toObject(::Aurora::NWScript::Object *object)
void actionOpenDoor(Aurora::NWScript::FunctionContext &ctx)
static Creature * toCreature(Aurora::NWScript::Object *object)
Module & getModule()
Return the module context.
void actionMoveToObject(Aurora::NWScript::FunctionContext &ctx)
static Aurora::NWScript::Object * getParamObject(const Aurora::NWScript::FunctionContext &ctx, size_t n)
The context needed to run a Star Wars: Knights of the Old Republic module.
bool open(Object *opener)
The opener object opens this door.
Basic Star Wars: Knights of the Old Republic type definitions.
Creature * getPC()
Return the currently playing PC.