Elmatus Posted October 18, 2012 Posted October 18, 2012 I want to do a base with tunnels under the map, and i was asking How to move a WorldObject, for example: move de CJ's house for entry ther. It can be: function () theTunnel myTunnel = moveWorldObject ( id, radius, x, y, z ) ????
BorderLine Posted October 18, 2012 Posted October 18, 2012 that function dont exist. you can use removeWorldModel () to delete cj house then use createObject () to create cj house in same place then use moveObject () to move cj house then use like gate
myonlake Posted October 18, 2012 Posted October 18, 2012 In other words, just check out the scripting introduction here: https://wiki.multitheftauto.com/wiki/Scr ... troduction. And tutorials here: viewforum.php?f=148.
Elmatus Posted October 18, 2012 Author Posted October 18, 2012 But i can use moveObject () With the original CJ's house? And if i can, what i have to put there? (id, radius x y z)
Elmatus Posted October 19, 2012 Author Posted October 19, 2012 ooo now i understand yakuza... i dont understand befor. but on the removeWorldObject() what i have to write in ()? id ,radius or what?
TAPL Posted October 19, 2012 Posted October 19, 2012 ooo now i understand yakuza... i dont understand befor.but on the removeWorldObject() what i have to write in ()? id ,radius or what? Read the wiki and you will know. https://wiki.multitheftauto.com/wiki/RemoveWorldModel
Elmatus Posted October 28, 2012 Author Posted October 28, 2012 I used: resourceRoot = getResourceRootElement() function removeObject () removeWorldModel(16010,1000,-569.70001220703,2593.5,56.299999237061) end addEventHandler ( "onResourceStart", getRootElement(), removeObject ) But it doesn't delate the object, help D:
Elmatus Posted October 29, 2012 Author Posted October 29, 2012 How i do that Its: setLODElement ( 11545, 0 ) ??? "11545" its the ID of the object "0" Its the alpha Or how i have to write it
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now