
Slayer117
Joined: Oct 3, 2008
Host of CE3 2010-forever!
|
Posted: Jul 18, 2009 10:00 AM
Msg. 1 of 10
Hey does anyone here know the dev code to shrinking and larging the biped?
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 18, 2009 01:35 PM
Msg. 2 of 10
(object_set_scale [OBJECT] [REAL] [SHORT])
[REAL] = scale. If you want it twice as big, make it 2. Three times is 3, and so on. [SHORT] = time frame. How long do you want it to take to grow that big? If you want it to set the scale instantaneously, set it to 0. If you want it gradual, set the number of ticks.
|
|
|

Slayer117
Joined: Oct 3, 2008
Host of CE3 2010-forever!
|
Posted: Jul 18, 2009 03:04 PM
Msg. 3 of 10
(object_set_scale [OBJECT] [REAL] [SHORT])
ok but what do i type for the [OBJECT] ?
|
|
|

FtDSpartn
Joined: May 1, 2009
Verified AI.
|
Posted: Jul 18, 2009 03:26 PM
Msg. 4 of 10
Quote: --- Original message by: Slayer117 (object_set_scale [OBJECT] [REAL] [SHORT])
ok but what do i type for the [OBJECT] ? Scrach that. Edited by FtDSpartn on Jul 18, 2009 at 03:26 PM
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Jul 18, 2009 03:48 PM
Msg. 5 of 10
(unit (list_get (players) 0 ) ) I think. If that isn't it take off the unit part.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 18, 2009 04:00 PM
Msg. 6 of 10
[OBJECT] is the name of the biped you want to change up. (unit (list_get (players) 0)) is the code for the player. For bipeds, you'll need to put the name of the biped.
|
|
|

Slayer117
Joined: Oct 3, 2008
Host of CE3 2010-forever!
|
Posted: Jul 18, 2009 04:34 PM
Msg. 7 of 10
could you give me an example of what the host would type in? like lets say i want to be twice as tall for the whole game.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jul 18, 2009 05:25 PM
Msg. 8 of 10
(object_set_scale (unit (list_get (players) 0)) 2.0 0)
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Jul 18, 2009 05:40 PM
Msg. 9 of 10
If your doing it ingame, you don't need the to put the ( in front of object_set_scale
|
|
|

Slayer117
Joined: Oct 3, 2008
Host of CE3 2010-forever!
|
Posted: Jul 19, 2009 02:52 PM
Msg. 10 of 10
yeah it didnt work...
|
|
|