Black2 Posted February 13, 2016 Share Posted February 13, 2016 I want all objects of a certain Id have another scale. Example:All objects have a scale of 1, I want all id 1234 object has the scale 2. How i can make this ? Link to comment
SpecT Posted February 13, 2016 Share Posted February 13, 2016 for i, v in ipairs(getElementsByType("object")) do local model = getElementModel(v) if model == 1234 then setObjectScale(v,2) end end 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