![]() |
|
Getting the scale - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: Getting the scale (/thread-1502.html) |
Getting the scale - Destiny's Player - 25-12-2015 Is there any way to get the scale of a prop, as in the scale set by the Prop Resizer tool? RE: Getting the scale - Person8880 - 25-12-2015 Not at the moment, no. RE: Getting the scale - Destiny's Player - 25-12-2015 Hmm... How hard would it be to implement? I'm using the resizer tool to cutdown on the amount of props that I use for decor, and it gets kinda inconvenient. But something tells me it's going to be hard to implement, because the resizer tool, from what I remember, cheats a little... RE: Getting the scale - Person8880 - 26-12-2015 It's not difficult at all. When the server(s) next restart, it'll be under Entity:getPropScale(). Bear in mind that it will return either a vector or a number, depending on what was used in the tool. RE: Getting the scale - Destiny's Player - 26-12-2015 Thanks a lot! Will be really useful for many things. |