Blockland Forums > Modification Help

Vehicle Scale?

Pages: (1/2) > >>

Pew446:

What is the code to set the scale of a wheeledvehicle datablock?

I know ObjectID.setScale("2 2 2"); will do the trick, but I want it scaled before it spawns.

Syntax:

Wouldn't you package the spawn function that spawns vehicles, and set the scale, before you call the parent?

Kalphiter:


--- Quote from: Syntax on September 04, 2010, 08:29:29 PM ---Wouldn't you package the spawn function that spawns vehicles, and set the scale, before you call the parent?

--- End quote ---
The vehicle doesn't exist before the parent.

Syntax:


--- Quote from: Kalphiter on September 04, 2010, 08:29:57 PM ---The vehicle doesn't exist before the parent.

--- End quote ---

I see, well then,  @OP scale it after the parent is called, i'm sure it'll LOOK like it was scaled when it was spawned.

Pew446:

So no way to just scale the datablock? Like scale = "2 2 2";

Pages: (1/2) > >>

Go to full version