zombienation Posted January 9, 2012 Share Posted January 9, 2012 Hello, I wanna make some special missions, but for that i'd like to know how, or if it is possible, To use resources like maps or zombies in another dimension? It would be fun for builders to know how to do this i think Thanks guys Link to comment
CapY Posted January 9, 2012 Share Posted January 9, 2012 It is possible. For map, you can do something like this: for k,v in pairs(getElementsByType"object") do setElementDimension( v, 5 ) end For Zombies, ask someone else, because i never worked with them. Link to comment
zombienation Posted January 9, 2012 Author Share Posted January 9, 2012 It is possible.For map, you can do something like this: for k,v in pairs(getElementsByType"object") do setElementDimension( v, 5 ) end For Zombies, ask someone else, because i never worked with them. Okaay thx man. One more question, when i set a map in an other dimension will it still work in the normal dimension? Thx Link to comment
Castillo Posted January 9, 2012 Share Posted January 9, 2012 When you change a element dimension it'll be gone from the old dimension, that's obviously, at least for me. Link to comment
BinSlayer1 Posted January 9, 2012 Share Posted January 9, 2012 if you use CapY's code, then the objects disappear from the default dimension. To avoid this, double everything first by iterating through all the objects in a map and recreating them and change the dimension alongside This way the original objects stay in the default dimension and their respective copies are sent to other dimension Link to comment
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