void Functions::setLocalFloat(Aurora::NWScript::FunctionContext &ctx) { Aurora::NWScript::Object *object = getParamObject(ctx, 0); if (object) object->setVariable(ctx.getParams()[1].getString(), ctx.getParams()[2].getFloat()); }
void Functions::setLocalItemProperty(Aurora::NWScript::FunctionContext &ctx) { Aurora::NWScript::Object *object = getParamObject(ctx, 0); if (object) object->setVariable(ctx.getParams()[1].getString(), ctx.getParams()[2].getEngineType()); }