Log in

View Full Version : SetPos / SetCell script functions



foxtacles
07-20-2012, 02:53 PM
Finally some of the most important functions are done:


SetPos(ID id, Value X, Value Y, Value Z)
SetCell(ID id, Cell cell, Value X = 0.00, Value Y = 0.00, Value Z = 0.00)


They were actually the most difficult functions to implement (although they look quite innocent) up until now. SetPos allows to move an object in a worldspace without having to care for the correct cell. SetCell can move an object to a different worldspace (or interior), optionally specifying a location.