try this (untested):
Function ib3d_MoveEntity(entity:T_irrISceneNode,x:Float,y:Float,z:Float) If (entity=Null Or Not entity.isValid()) Then Throw "Entity does not exist or is invalid" Local dest:T_irrVector3df=T_irrVector3df.createFromVals(x,y,z) entity.getRelativeTransformation().transformVect(dest) entity.setPosition(dest) EndFunction