Blockland Forums > Modification Help
Resizing
Chrono:
--- Quote from: Greek2me on July 05, 2011, 09:58:25 PM ---No, you need to define the scale for all 3 dimensions. %obj.setPlayerScale(0.2 0.2 0.2);
--- End quote ---
Not for setPlayerScale.
Plus the way you did it would give a syntax error.
Greek2me:
Oh, oops, forgot the "s.
Oh, and I was thinking of %player.setScale. That lets you change the X, Y, and Z. It's also not as limited- you can go from .2 to 5 rather than .2 to 2 with setPlayerScale.
Nexus:
--- Quote from: Chrono on July 05, 2011, 08:55:51 PM ---Wrong.
%obj.setPlayerScale(0.2);
--- End quote ---
It was not in direct relation to the code he posted, which I see now has a %player variable, even if it is incorrectly used.
Chrono:
--- Quote from: Greek2me on July 05, 2011, 10:22:30 PM ---Oh, oops, forgot the "s.
Oh, and I was thinking of %player.setScale. That lets you change the X, Y, and Z. It's also not as limited- you can go from .2 to 5 rather than .2 to 2 with setPlayerScale.
--- End quote ---
Both of them allow 0.2 to 10. The event is the only one restricted to 0.2 to 2.
jes00:
--- Quote from: Chrono on July 05, 2011, 08:55:51 PM ---%obj.setPlayerScale(0.2);
--- End quote ---
It worked :D
*Topic Locked*